BLAG

BLAG Forums
It is currently Sun Dec 21, 2014 10:04 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: 69K via apt
PostPosted: Tue Jul 10, 2007 12:40 pm 
Offline

Joined: Thu Jul 13, 2006 5:01 pm
Posts: 509
Location: Boston, MA, USA
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".


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 10, 2007 1:34 pm 
Offline

Joined: Fri Nov 18, 2005 3:07 am
Posts: 699
did you remember to sacrifice the goat? I bet you didn't..


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 10, 2007 7:42 pm 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
I found that `yum -y update` fixed everything for me when I installed 69k via a USB key.

_________________
BLAG 'em up!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 10, 2007 8:55 pm 
Offline

Joined: Thu Jul 13, 2006 5:01 pm
Posts: 509
Location: Boston, MA, USA
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!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 10, 2007 9:52 pm 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
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!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group