LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-07-2008, 02:43 AM   #1
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 113

Rep: Reputation: 15
apt-get error. Could not find package


I was trying to install a package called libxml2-dev via command line and I have posted the output. I have an old unsupported version of ubuntu (5.10). Which is why I probably got the error...! Is there something I can do to get this installed anyway...(without changing/upgrading the os).

Code:
ubuntu@ubuntu:~/Desktop/Downloaded/gnash-0.8.1$ sudo apt-get install libxml2-dev
Password:
Reading package lists... Done
Building dependency tree... Done
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-amd64_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package libxml2-dev
 
Old 01-07-2008, 04:31 AM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
You really should do a clean install of ubuntu gutsy 7.10. Breezy is not supported any more, and breezy packages are no longer listed on the ubuntu packages site:
http://packages.ubuntu.com/
You will need to do a clean install, since doing a dist-upgrade across so many versions is not recommended, and probably would not work anyway. Gutsy is way better than breezy, and the package you want is updated on gutsy:
http://packages.ubuntu.com/cgi-bin/s...sy&release=all
 
Old 01-07-2008, 06:24 PM   #3
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 113

Original Poster
Rep: Reputation: 15
My main objective is to install gnash. When I had downloaded that and tried to configure it there were several packages missing. One of them was lib2xml-dev.

Ok, (in spite of the unsupported os version) I had gone and downloaded the lib2xml-dev package. I had even configured it and ran a make too.

But in spite of this when I configure gnash again it is still reporting that the above package (lib2xml-dev) was missing.

So which directory should I actually install this?

EDIT: The actual package is libxml2-dev, not lib2xml-dev.

Last edited by deostroll; 01-07-2008 at 06:35 PM.
 
Old 01-07-2008, 11:44 PM   #4
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by deostroll View Post
Ok, (in spite of the unsupported os version) I had gone and downloaded the lib2xml-dev package. I had even configured it and ran a make too.
What did you download, the ubuntu .deb package or did you download the the source code for the package and compile it yourself? If you compiled it yourself did you run "make install"? I would think the package would install to /usr/lib. Read thee README for the package to see how to install it. Other than that I wouldn't know.
This would all be much easier if you just upgraded to gutsy. You might also consider doing a dist-upgrade to dapper 6.06, since dapper is still supported, and you may be able to get gnash through the backports repo.
https://help.ubuntu.com/community/Da...7C%28dapper%29
 
Old 01-08-2008, 07:59 AM   #5
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
There is an archive for old unsupported versions of Ubuntu (and derivatives) so you can upgrade to Dapper at least.
Code:
deb http://old-releases.ubuntu.com/ubuntu/ breezy main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ breezy-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ breezy-backports main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ breezy-security main restricted universe multiverse
There's also archives of Warty and Horay, though I don't know why you'd be running either still.
 
Old 01-08-2008, 01:55 PM   #6
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 113

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by binary_y2k2 View Post
There is an archive for old unsupported versions of Ubuntu (and derivatives) so you can upgrade to Dapper at least.
Code:
deb http://old-releases.ubuntu.com/ubuntu/ breezy main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ breezy-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ breezy-backports main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ breezy-security main restricted universe multiverse
There's also archives of Warty and Horay, though I don't know why you'd be running either still.
I went and checked out the ftp. There are a lof of packages listed out there! I guess I need to only one of them. But which?

My guess for the time being is: http://old-releases.ubuntu.com/ubunt...ntu1_amd64.deb

But is there a way I can confirm this is it...?

EDIT: How do you install a .deb package?

PS: What if it still does not work?

Last edited by deostroll; 01-08-2008 at 01:57 PM.
 
Old 01-09-2008, 08:48 PM   #7
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by deostroll View Post
I went and checked out the ftp. There are a lof of packages listed out there! I guess I need to only one of them. But which?

My guess for the time being is: http://old-releases.ubuntu.com/ubunt...ntu1_amd64.deb

But is there a way I can confirm this is it...?

EDIT: How do you install a .deb package?

PS: What if it still does not work?
Are you running a 64 bit version of ubuntu? The packaage you downloaded is for 64 bit.
To install a .deb package you should be able to just right-click on it and install. If that doesn't work in Breezy run "sudo dpkg -i package_name" to install.
 
Old 01-09-2008, 11:31 PM   #8
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 113

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tommcd View Post
Are you running a 64 bit version of ubuntu? The packaage you downloaded is for 64 bit.
To install a .deb package you should be able to just right-click on it and install. If that doesn't work in Breezy run "sudo dpkg -i package_name" to install.
How do I find if I am running 64-bit or 32-bit? I suppose I am running a 32-bit os. But my system can support 64-bit oss too.
 
Old 01-11-2008, 10:03 PM   #9
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
What did you install? If you just downloaded the regular version of ubuntu then it is probably 32 bit. I am not at a linux box right now, but I think "uname -a" would tell you if it's 32 or 64 bit. You probably need the 32 bit version of the package.
 
Old 01-12-2008, 05:32 AM   #10
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 113

Original Poster
Rep: Reputation: 15
I believe I have a 64-bit version. It writes something like 'x_86_amd64Generic...'. Or could this be my processor description? Don't know. However I had been to ubuntu forums on the irc and I was told gnash would not install on breezy badger...
 
Old 01-12-2008, 10:22 AM   #11
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by deostroll View Post
However I had been to ubuntu forums on the irc and I was told gnash would not install on breezy badger...
Yes, Breezy is no longer supported, there will be no more work done on it and no packages made for it. Upgrade to Dapper at least.
 
Old 01-13-2008, 04:19 AM   #12
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by binary_y2k2 View Post
Yes, Breezy is no longer supported, there will be no more work done on it and no packages made for it. Upgrade to Dapper at least.
Really, take Binary's advice. Look at all the time you have spent on this. You could easily upgrade (or do a clean install) of Dapper, or install Gutsy, and be done with this in a few hours at the most.
Dapper is very stable, imo it is the most solid Ubuntu version to date. Gutsy is good also, and has many new features you may like. Install the 32 bit version for the most trouble free experience.

Last edited by tommcd; 01-13-2008 at 04:20 AM.
 
  


Reply



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
apt-get install fluxbox..error: couldn't find package fluxbox 200mg Ubuntu 7 12-08-2006 03:33 PM
apt-get returns unmet dependencies error with python2.3-sip4-qt3 package 1337ln Linux - Newbie 5 06-16-2006 07:36 PM
sudo apt-get install acroread returns "Couldn't find package acroread" swiadek Ubuntu 3 02-13-2006 10:52 AM
HELP with apt-getHow come when I tried to use apt-get to remove a package to regain redss Linux - Newbie 1 08-22-2004 11:59 PM
apt-get errors E: Couldn't find package lapthorn Linux - Software 1 05-10-2004 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:00 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
Open Source Consulting | Domain Registration