1

I did a fresh install of ubuntu 12.04 over my earlier 11.10.I saved the sources.list from my previous installation to another partition and replaced the sources.list in /etc/apt/ of the current installation with it,after editing it for the new distro.I got a lot of errors while using update manager so I deleted the sources.list.

At the same time,I was installing a lot of packages from synaptic manager and I left the download and install for the night(my Internet connection speed is just 256Kbps). Now,I cant find any of those packages like chromium,wine and javacc installed on my computer!Even in synaptic the packages are shown as not installed.Please help me out,I cant start another download and wait for 6 hours.

1 Answer 1

1

Ubuntu keeps track of software sources using the sources.list file you have deleted.

Why older sources file is not working?

Because older list points to software sources compatible with older ubuntu which if installed somehow prone to crash. Never use such approach while upgrading.

Fix for now : Use this site to generate sources.list file for appropriate Ubuntu version. http://repogen.simplylinux.ch/

then run sudo apt-get update

Have a look in /etc/var/cache/archives . Possibly the packages are there. But you have downloaded the packages for wrong version (11.10) if you used old source files without correct modification. You can just try to install the software. Its possible you have to re download few packages or all packages. Give a try.

3
  • thanks a lot.i deleted the sources.list before downloading softwares from synatpic.yes,all the packages i downloaded are there in /etc/var/cache/archives.wonder how i could install the downloaded packages using synaptic,rather than taking up one by one each May 8, 2012 at 9:09
  • First add the correct sources (using add-apt-repository <REPOSITORY LINE>), then do sudo apt-get update. Then try to install from synaptic. synaptic will pick up from the existing packages automatically. If the file got changed in server, it will be re downloaded. But I guess it will be very minimal.
    – Web-E
    May 8, 2012 at 9:13
  • yes.i checked again all the packages i needed and finally it installed without downloading.thankyou very much May 8, 2012 at 9:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .