VectorLinux
August 22, 2014, 09:17:06 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: slapt-get [RESOLVED]  (Read 827 times)
flip city
Packager
Vectorite
****
Posts: 340


Way Out In HyperSpace


« on: January 27, 2010, 11:57:04 pm »

Hi to all,

 something went terribly wrong while in gslapt. was trying to remove openssh and 2 other related packages, after hitting execute it began to remove 240 packages !! WHOA !! I was unable to stop the process normally, so I quickly restarted my pc. Fortunately I don't think too many packages were removed. the last one I noticed was abiword. so now I cannot start gslapt or Vector control center, from the desktop icons. Is there a command using slapt-get that would show the recently removed packages so I can reinstall them ? OR is there something else I should be doing ? Shocked
« Last Edit: January 28, 2010, 05:36:25 am by flip city » Logged

stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #1 on: January 28, 2010, 01:11:43 am »

I duplicated your attempt to remove openssh, just long enough to get a snapshot of what it was planning to remove.  Let's hope it was working in order and you can try reinstalling with slapt-get the packages from the top down. (see attached picture)
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
nightflier
Administrator
Vectorian
*****
Posts: 4019



« Reply #2 on: January 28, 2010, 03:12:44 am »

Check the file /var/log/pkgtools
Logged
flip city
Packager
Vectorite
****
Posts: 340


Way Out In HyperSpace


« Reply #3 on: January 28, 2010, 04:59:45 am »

here's the damage control report from /var/log/pkgtools :
2010-01-28 01:17:55 Removed: kssh-0.7-i586-1vl60
2010-01-28 01:17:57 Removed: openssh-5.1p1-i486-1_slack12.1
2010-01-28 01:18:01 Removed: openssl-0.9.8h-i486-3_slack12.1
2010-01-28 01:18:04 Removed: GConf-2.22.0-i586-2gsb
2010-01-28 01:18:06 Removed: abiword-plugins-2.6.6-i586-2vl60
2010-01-28 01:18:08 Removed: abiword-2.6.6-i586-2vl60
2010-01-28 01:18:11 Removed: bluefish-1.0.7-i586-2gsb
2010-01-28 01:18:15 Removed: eel-2.22.1-i586-1gsb

as you can see only 20 seconds elapsed.
thank you both and will hopefully post a good report soon.
pays not to get drifty when attempting such a procedure.
sure glad I'm not alone and got a little help from me friends !
Logged

flip city
Packager
Vectorite
****
Posts: 340


Way Out In HyperSpace


« Reply #4 on: January 28, 2010, 05:38:39 am »

 Reinstalled the removed packages using (as root) slapt-get --install [name of removed package]. All went well and back to hack !!
Logged

GrannyGeek
Packager
Vectorian
****
Posts: 2567


« Reply #5 on: January 28, 2010, 07:15:27 pm »

Your experience illustrates why some of us suggest not using gslapt or slapt-get for removing packages. Attempting to remove one may take out a bunch of others and destroy your system.

It's safer to use
removepkg nameofpackage

which will remove just the one you want to remove and leave its relatives and dependencies alone.
--GrannyGeek
Logged

Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!