LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-15-2010, 02:27 PM   #1
Thunderlord_DnB
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Thumbs down aptitude error in upgrade


I have installed old version of debian sarge 3.1 and I wanted to do update not to reinstall cause I have a lot of customized things that I didn't want to do again

So anyway I got a problem with aptitude I edited source.list
add a close mirror (Installation of the sarge was from CD's so and was totally networkless)
So when I run apt-get update and aptitude update
aptitude dist-upgrade I got a problem with error that look like this

E: Unable to parse package file /var/lib/apt/lists/ftp.ch.debian.org_debian_dists_testing_main_binary-i386_Packages (1)

I'm almost certain that it is a small error
I tried with other mirrors too but get the same error
I'm a bit new in that upgrading story so I would just like to get some sort of the answer ...
To no reinstall
Btw if some of the files or some of the stdout or stderr outputs are needed ask me or state of any file ...
I just need to get this done quickly cause it is really old
 
Old 03-15-2010, 03:18 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Can you post your /etc/apt/sources.list file?

Generally, when you do upgrades, you should do them piecemeal. Do Sarge to Etch, then Etch to Lenny (current stable), then Lenny to Squeeze (current testing - if you so desire).
 
Old 03-15-2010, 03:36 PM   #3
Thunderlord_DnB
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Talking Thx

Ok I'll try to do upgrade in steps
If it fails I'll post you sources.list
 
Old 03-15-2010, 05:21 PM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Does the file look malformed? Here is some output from one of my package lists:
Code:
Package: 2vcard
Priority: optional
Section: utils
Installed-Size: 108
Maintainer: Martin Albisetti <argentina@gmail.com>
Architecture: all
Version: 0.5-2
Filename: pool/main/2/2vcard/2vcard_0.5-2_all.deb
Size: 14286
MD5sum: 07bce47e217017749622e02f75cff0d7
SHA1: 80b9ff12999d69be075de6e51b69c069a9a106a7
SHA256: 409b7e5e1efff1e8196ce5151a4cfa63dd2bd6a6f611e2a6c611a0a73d3e83f9
Description: perl script to convert an addressbook to VCARD file format
 2vcard is a little perl script that you can use to convert the
 popular vcard file format. Currently 2vcard can only convert addressbooks
 and alias files from the following formats: abook,eudora,juno,ldif,mutt,
 mh and pine.
 .
 The VCARD format is used by gnomecard, for example, which is turn is used by
 the balsa email client.
Tag: implemented-in::perl, role::program, use::converting
Notice the conventions; is yours different?
 
Old 03-17-2010, 06:49 AM   #5
Thunderlord_DnB
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Smile Thx

Works ok now
I have succed to upgrade fast ...
 
Old 03-17-2010, 06:50 AM   #6
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Well, what did you do? If you post how you solved the problem, people can view it for similar problems
 
  


Reply

Tags
aptitude, dist, distupgrade, error, installation


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
aptitude: upgrade JosephS Linux - Software 5 09-25-2009 10:15 AM
Distribution Upgrade using aptitude cccc Debian 5 07-19-2009 07:23 PM
Problem with aptitude safe-upgrade mikieboy Debian 4 01-10-2008 05:11 PM
Aptitude bombs when trying to upgrade coralsaw Debian 3 06-06-2006 10:48 AM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 02:40 PM


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

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