VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Package removal in gslapt  (Read 1812 times)

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Package removal in gslapt
« on: July 22, 2008, 08:05:25 am »

Is it just me, or there is something terribly wrong when one tries to remove a package in gslapt?
Usually, I get gslapt attempting to remove a whole lot of packages.

Is that because it tries to remove everything that depends on the one I want to remove?
Sometimes, it just seems that the package list is almost random.

Not so good for new users, I guess...
Logged

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: Package removal in gslapt
« Reply #1 on: July 22, 2008, 08:54:15 am »

I've noticed this behavior as well.  Don't know if it's Gslapt, or slapt-get itself as I've never removed a package with slapt-get. If removing packages with Gslapt, I've gotten in the habit of checking what it plans to remove.  If I don't agree, I cancel and remove manually with removepkg.
Logged

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: Package removal in gslapt
« Reply #2 on: July 22, 2008, 09:11:05 am »

It's slapt-get as well, when using --remove.
Unfortunately, using slapt-get --remove --no-dep gives a segmentation fault (to me, at least).

So the alternative is removepkg.

I guess there is some value to the possibility of removing stuff that depend on what you're removing, but surely not all the time.
Seems quite dangerous, especially in gslapt where you have to open the list to check it.
Logged

jaos

  • Member
  • *
  • Posts: 3
Re: Package removal in gslapt
« Reply #3 on: December 14, 2008, 11:04:59 am »

Unfortunately, using slapt-get --remove --no-dep gives a segmentation fault (to me, at least).

Ooops, thanks.  That turned out to be an initialization error resulting in dereferncing a null pointer.

fixed and scheduled for next release.
Logged

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: Package removal in gslapt
« Reply #4 on: December 14, 2008, 11:08:36 am »

Quote
fixed and scheduled for next release.

Fantastic! Thanks a lot for your work.
Logged