You are not logged in.
Pages: 1
Okey, here's the problem: An irritation I have had with archlinux, in fact the only real one, is that some part of the system crashes when I upgrade. Often it's some new version of a library that doesnt work with an older version, or a new bug is introduced. So what I'm asking is, can I upgrade my applications, but leave libraries and system files alone? I only want to upgrade the core files when a new release of archlinux is out so that I know they are stable.
Offline
You can maintain all packages you want yourself. Other than that no there isnt.
Last edited by dolby (2008-05-20 14:15:06)
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
Archlinux "releases" (should) come out with the new kernel version hitting core, and what gets included on the CD is just a snapshot of packages at that time. While devs try to get them "stable" a bit more than usual, releases do not guarantee stability (in a sense that you probably imagine).
Offline
Okey, I wish there could be like a "release package" that contains a stable version of the core files.
Offline
Here you go: http://bbs.archlinux.org/viewtopic.php?id=41764
Offline
Often it's some new version of a library that doesnt work with an older version, or a new bug is introduced.
Do you report these problems when they occur?
Offline
Okey I see that this is a complex issue, so I will ask for something else: How can I "reset" my system after a full system upgrade, so if something brakes I can downgrade all the packages that where upgraded in that last system upgrade.
Offline
Here's a way: take a look at /var/log/pacman.log to see what was upgraded on the last upgrade; use old package tarballs from pacman cache (default location /var/cache/pacman/pkg/*) to downgrade (via 'pacman -U <tarball>).
If this seems like too much work, write a script that automates this process, and then post it here on the forums to 'Community contributions' ![]()
Offline
Well, I had nothing to do, so here you go (name this short script 'findlastupdated.sh')
#!/bin/bash
tac /var/log/pacman.log | sed -n '0,/starting full system upgrade/s|^\[.* upgraded \(.*\) (\(.*\) -> .*)|/var/cache/pacman/pkg/\1-\2-x86_64.pkg.tar.gz|p'That should print packages updated since last 'full system upgrade' with the full path (you need to change x86_64 to i686 if you use that architecture). If you want pacman to install all of those printed, just use
findlastupdated.sh | xargs pacman -UEDIT: deleted one unnecessary sed call from the script
Last edited by bender02 (2008-05-21 18:21:12)
Offline
bender02: nice work! that's what I've been missing. In my opinion this should be implemented in pacman, so that if your system crashes after a upgrade you can easily revert back to a working setup.
Offline
Pages: 1