LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs > chexmix
User Name
Password

Notices

Rate this Entry

A Thing To Not Do

Posted 05-05-2009 at 06:54 AM by chexmix

A very good thing to not do is to get a new version of the slackpkg utility & (whether because of fatigue, hurry or what have you) accidentally uncomment a line for a -stable mirror instead of the -current you are running. Because if you do that you will cluelessly downgrade yourself, at least partially, and wind up with a mess, and if you try to run slackpkg AGAIN to fix the mess you might get something that looks like this:

bash-3.1# slackpkg upgrade-all

Looking for packages to upgrade. Please wait... DONE

/usr/libexec/slackpkg/functions.d/dialog-functions.sh: line 16: 19512 Done cat $TMPDIR/dialog.tmp
19513 Aborted | xargs dialog --title $2 --backtitle "slackpkg $VERSION" $HINT --checklist "Choose packages to $2:" 19 70 13 2>$TMPDIR/dialog.out
Package xargs: is already in cache - not downloading
md5sum: /var/cache/packages/xargs:: No such file or directory
ERROR - Package not installed! gpg error!
Package xargs.c:445: is already in cache - not downloading
md5sum: /var/cache/packages/xargs.c:445:: No such file or directory
ERROR - Package not installed! gpg error!
Package main: is already in cache - not downloading
md5sum: /var/cache/packages/main:: No such file or directory
ERROR - Package not installed! gpg error!
Package Assertion is already in cache - not downloading
md5sum: /var/cache/packages/Assertion: No such file or directory
ERROR - Package not installed! gpg error!
Package `bc_ctl.arg_max is already in cache - not downloading
md5sum: /var/cache/packages/`bc_ctl.arg_max: No such file or directory
ERROR - Package not installed! gpg error!
Package <= is already in cache - not downloading
md5sum: /var/cache/packages/<=: No such file or directory
ERROR - Package not installed! gpg error!
Package (131072-2048)' is already in cache - not downloading
md5sum: /var/cache/packages/(131072-2048)': No such file or directory
ERROR - Package not installed! gpg error!
Package failed. is already in cache - not downloading
md5sum: /var/cache/packages/failed.: No such file or directory
ERROR - Package not installed! gpg error!

Searching for NEW configuration files

Some packages had new configuration files installed.
You have four choices:

(K)eep the old files and consider .new files later

(O)verwrite all old files with the new ones. The
old files will be stored with the suffix .orig

(R)emove all .new files

(P)rompt K, O, R selection for every single file

What do you want (K/O/R/P)?



... obviously slackpkg is very confused and is trying to install what look like bits of error output & is unable to do so. All my fault. Arggh.

So I am slowly restoring -current packages by hand and hope that when this is all done I will have a stabilized system.

All of which is a great thing to not do. I highly recommend not doing it!

Sometimes I wonder about my brain.
Posted in Slackware
Views 890 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 02:52 AM.

Main Menu

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration