LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-07-2010, 04:05 PM   #1
enine
Member
 
Registered: Nov 2003
Distribution: Slackware 14.1
Posts: 819
Blog Entries: 3

Rep: Reputation: 91
Best way to roll back from slackpkg updates?


Like others here it seems I had problems with the latest -current. I can't startx, no sound, etc. I put back the video drivers and such from the 13 CD but now have a bunch of other issues, video will flash every now and then and sometimes go blank so I can only reboot as exiting xwindows and going back in its still blank. I tried booting from the 13 cd and reinstalling without formatting my root partition but that dies in the kde games for some reason and setup won't start again. I was trying to not format and loose all the updates just put back 13 but that doesn't seem to be working.
 
Old 03-07-2010, 06:26 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Personally I wouldn't advise mixing things from any stable version and current and I can't see any point in running a version of current that is not "current". I would just try and find out what was the problem in current (that's the point of running current after all) or revert to 13 stable in which case you can format your root directory again - hopefully you have /home on a separate partition which you can use to save stuff on should you wish. However,again mixing things from current and stable is not recommended so anything built on a current system should be rebuilt on the stable. Just install afresh and "slackpkg update && slackpkg install-new && slackpkg upgrade-all" to get any updates to 13 stable after adjusting your mirror version. At least this way you know your reverting to a clean system.
 
Old 03-07-2010, 06:35 PM   #3
enine
Member
 
Registered: Nov 2003
Distribution: Slackware 14.1
Posts: 819
Blog Entries: 3

Original Poster
Rep: Reputation: 91
looks like I'll have to reformat. My problem was there were multiple issues with the latest current. But I like to have some of the stuff up to date like kde.
 
Old 03-08-2010, 12:22 AM   #4
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
I don't think slackpkg and whatever other package managers can do "roll-back" because Slackware don't keep old packages. When they are removed from the remote server, they are gone forever. So you will have nowhere to found the packages you need. There are some slow mirrors will keep the old packages for some time but how about if you want to roll back to a year ago?

So, I think the solution is solute the problems you have encountered. If one want a solid system, go -stable.
 
Old 03-08-2010, 03:27 AM   #5
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Rep: Reputation: 137Reputation: 137
If you can boot to the command line just change the mirror in slackpkg to a 13.0 mirror, and run slackpkg. you will have to update, clean, install new and upgrade. but this should give you a cleanish install of Slackware 13.0.

samac
 
Old 03-08-2010, 11:52 AM   #6
GazL
Senior Member
 
Registered: May 2008
Posts: 3,501

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
Quote:
Originally Posted by grissiom View Post
If one want a solid system, go -stable.
Or take plenty of backups.

Code:
root@nix:~# ls -l /mnt/BACKUPS/Slackware/2010-03-02/
total 1896736
-rwxr-xr-x 1 root root       9763 2010-03-02 21:04 etc_lvm.cpio.bz2*
-rwxr-xr-x 1 root root   19495122 2010-03-02 20:58 fsbkp.boot.cpio.bz2.aa*
-rwxr-xr-x 1 root root       9553 2010-03-02 20:57 fsbkp.boot.list*
-rwxr-xr-x 1 root root  140170594 2010-03-02 21:01 fsbkp.home.cpio.bz2.aa*
-rwxr-xr-x 1 root root      85089 2010-03-02 21:00 fsbkp.home.list*
-rwxr-xr-x 1 root root        139 2010-03-02 20:59 fsbkp.opt.cpio.bz2.aa*
-rwxr-xr-x 1 root root         15 2010-03-02 20:58 fsbkp.opt.list*
-rwxr-xr-x 1 root root   46295545 2010-03-02 20:31 fsbkp.root.cpio.bz2*
-rwxr-xr-x 1 root root     219477 2010-03-02 20:24 fsbkp.root.list*
-rwxr-xr-x 1 root root   21556307 2010-03-02 21:02 fsbkp.tmp.cpio.bz2.aa*
-rwxr-xr-x 1 root root       1106 2010-03-02 21:01 fsbkp.tmp.list*
-rwxr-xr-x 1 root root 1690843300 2010-03-02 20:57 fsbkp.usr.cpio.bz2.aa*
-rwxr-xr-x 1 root root   15244901 2010-03-02 20:32 fsbkp.usr.list*
-rwxr-xr-x 1 root root    7929630 2010-03-02 20:59 fsbkp.var.cpio.bz2.aa*
-rwxr-xr-x 1 root root     110092 2010-03-02 20:59 fsbkp.var.list*
-rwxr-xr-x 1 root root       3019 2010-03-02 21:03 rootvg.vgcfgbackup*
1.9GB well spent.
 
Old 03-08-2010, 05:39 PM   #7
henkees
Member
 
Registered: Feb 2008
Location: Netherlands, Zeeland
Distribution: Slackware64 current multilib, Gentoo and SalixOs
Posts: 40

Rep: Reputation: 18
Quote:
Originally Posted by grissiom View Post
I don't think slackpkg and whatever other package managers can do "roll-back" because Slackware don't keep old packages. .
That is true, and : if you want a stable system, don't use current.
HOWEVER: if you are using current; and are using slackpkg for the task; then there's one thing you can do; so that you can make a 'step backwards':

Standard slackpkg will remove all downloaded files after upgrade; but if you edit /etc/slackpkg/slackpkg.conf this way:
Code:
...
# If DELALL is "on", all downloaded files will be removed after install.
DELALL=off
...
then the downloaded packages are still in /var/cache/packages.
When you move these packages after every update you make to a safe place, then you can always reinstall the versions before the last update. You can use this to make one step back and stay there till a new stable release is out, but don't mix older and newer versions from packages!
 
Old 03-08-2010, 05:42 PM   #8
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
@GazL

Great practice I'm considering that the ultimate back up of a system is ZFS. Maybe btrfs in the future Linux.
 
Old 03-08-2010, 05:54 PM   #9
enine
Member
 
Registered: Nov 2003
Distribution: Slackware 14.1
Posts: 819
Blog Entries: 3

Original Poster
Rep: Reputation: 91
Thats what I should be doing then. I want the latest Firefox, Thunderbird and KDE4 that I installed in Feb without the broken Xorg, power management, etc in March.
Looks like some of the repos are pulling March's off, I'm back on 13 but can't even get the new firefox and thunderbird, every time I try slackpkg errors out with a not found even though the update list says they are there, been through like 10 different reps now.
 
Old 03-08-2010, 06:21 PM   #10
GazL
Senior Member
 
Registered: May 2008
Posts: 3,501

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
Quote:
Originally Posted by grissiom View Post
@GazL

Great practice I'm considering that the ultimate back up of a system is ZFS. Maybe btrfs in the future Linux.
ZFS and its like are great storage tools and i'm looking forward to playing with them too, but you can't beat the simplicity of a set of archive files as a safety net when the shit hits the fan.
 
Old 03-08-2010, 07:05 PM   #11
enine
Member
 
Registered: Nov 2003
Distribution: Slackware 14.1
Posts: 819
Blog Entries: 3

Original Poster
Rep: Reputation: 91
Ok, I see where the issue is. The install of 13 doesn't support txz's, I seem to remember that being in a -current update a while back. But it seems that its not in -current so anything slackpkg tries to install fails due to it not being a .tgz. So unless I can find the packagetools from earlier -current I can't install anything new.
 
Old 03-09-2010, 12:42 AM   #12
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 449

Rep: Reputation: 41
enine, your system may be fubar already, not sure I follow you, but hoping it helps:
From slackware-13.0/UPGRADE.TXT
Quote:
1. Upgrade your package utilities and related tools:

upgradepkg /root/slackware/a/pkgtools-*.tgz
upgradepkg /root/slackware/a/tar-*.tgz
installpkg /root/slackware/a/xz-*.tgz
upgradepkg /root/slackware/a/findutils-*.txz
I find xz in the a series
slackware-13.0/slackware/a/xz-4.999.8beta-i486-1.tgz 08-Apr-2009 00:20 196K
slackware-current/slackware/a/xz-4.999.9beta-i486-1.tgz 01-Dec-2009 23:04 395K

Maybe worth trying?
Good luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to roll back kernel? Geminias Linux - Newbie 2 09-14-2006 05:04 PM
updates and roll back imagineaxion Ubuntu 1 09-02-2006 09:31 AM
Howto undo updates or roll system back to initial installation? suguru Suse/Novell 2 01-09-2006 12:31 AM
Roll back to stable ? tuxuser19 Debian 1 12-10-2005 07:59 AM
Any way to roll back? FKK Linux - Newbie 1 11-12-2005 04:44 AM


All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
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