FAQ   Search   Memberlist  
Profile    Log in to check your private messages    Register    Log in
69K via apt

 
Post new topic   Reply to topic    BLAG Forum Index -> development
View previous topic :: View next topic  
Author Message
extraspecialbitter
PostPosted: Tue Jul 10, 2007 12:40 pm    Post subject: 69K via apt Reply with quote

Please feel free to relocate this thread if it doesn't belong here.

Having already installed 69K to a fresh partition from the CD, I thought I'd try updating an existing 60001 system from the command line. I modified /etc/apt/sources.list.d/blag.list to point to BLAG 70000 repositories instead of 60000 and then ran:

Code:
apt-get update
apt-get dist-upgrade

The get failed after over 700 packages with a "missing dependencies" error. I was able to get through this fairly easily as follows:

Code:
apt-get --fix-missing dist-upgrade

The gets completed successfully and the installation proceeded until I encountered another error complaining of a broken package. This was overcome via:

Code:
apt-get --fix-broken dist-upgrade

Lastly, the installation hung during the installation of the new kernel. I control-C'ed out of it, started up again (this time without the --fix-broken argument) and it seemed to complete, but didn't produce an initrd file, without which the new kernel wouldn't boot. I cheated by grabbing it from an existing 69K installation, after which it was all joy.

All in all it took about two hours via a broadband internet connection. Upgrading via the CD would have taken less than half the time and might have circumvented some of the errors I encountered, but I wanted to prove to myself that I could perform a major upgrade even when "CD-impaired".

noldrin
PostPosted: Tue Jul 10, 2007 1:34 pm    Post subject: Reply with quote

did you remember to sacrifice the goat? I bet you didn't..
john maclean
PostPosted: Tue Jul 10, 2007 7:42 pm    Post subject: Reply with quote

I found that `yum -y update` fixed everything for me when I installed 69k via a USB key.

_________________
BLAG 'em up!
extraspecialbitter
PostPosted: Tue Jul 10, 2007 8:55 pm    Post subject: Reply with quote

john maclean wrote:
I found that `yum -y update` fixed everything for me when I installed 69k via a USB key.

good to know. I prefer apt, but would happily use yum for major update purposes if it saved me a few hiccups. Thanks!

john maclean
PostPosted: Tue Jul 10, 2007 9:52 pm    Post subject: Reply with quote

That's the only thing that I find yum very good for. Also great for grabbing soucrce code. Check out this demonstration.
Code:
$ cd dump/
[jayeola@acid dump]$ apt-cache search irssi
ctrlproxy - ctrlproxy
ekg - A client compatible with Gadu-Gadu
gaim-plugin_pack - Plugin pack for Gaim
irssi - Modular text mode IRC client with Perl scripting
irssi-devel - Development package for irssi
pisg - Perl script which generates statistics from IRC logfiles
[jayeola@acid dump]$ apt-get -d source irssi
Reading Package Lists... Done
Building Dependency Tree... Done
E: You must put some 'source' URIs in your sources.list
[jayeola@acid dump]$ yumdownloader irssi
extras                    100% |=========================| 1.1 kB    00:00     
base                      100% |=========================| 1.1 kB    00:00     
openvz-kernel-rhel5       100% |=========================|  951 B    00:00     
openvz-utils              100% |=========================|  951 B    00:00     
errata                    100% |=========================| 1.1 kB    00:00     
updates                   100% |=========================| 1.1 kB    00:00     
primary.xml.gz            100% |=========================| 591 kB    00:11     
errata    : ################################################## 1331/1331
irssi-0.8.10-6.a.fc6.i386 100% |=========================| 873 kB    00:13


_________________
BLAG 'em up!
Display posts from previous:   
Post new topic   Reply to topic    BLAG Forum Index -> development
Page 1 of 1

Protected by Anti-Spam ACP