Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

The university where I study hosts an Ubuntu package mirror server, which I normally use to update my repository. However, right now, I am not in the university and update packages instead from the server from India or the main server. When I run sudo apt-get update and sudo apt-get upgrade, apt-get asks to downgrade a large number of packages (1035 in total).

Output: http://paste.ubuntu.com/6556854/

A related thing I noticed is that if I open synaptic, the 'latest' packages are all quite old, e.g

libunity-core-5.0-5: Installed version 5.20.0-0ubuntu2, Latest version 5.10.0-0ubuntu6.

Even the latest generic linux header and image are shown to be quite old (in fact, the one that comes during install) -version: 3.2.0.23.25 What is the reason for this happening and how can I rectify it?

System information:

12.04 LTS, 64 bit machine. Kernel: 3.2.0-56-generic

Output of apt-cache policy cups-client :

    abhi@abhinav-HP:~$ apt-cache policy cups-client
    cups-client:
      Installed: 1.5.3-0ubuntu8
      Candidate: 1.5.2-9ubuntu1
      Version table:
     *** 1.5.3-0ubuntu8 0
            100 /var/lib/dpkg/status
         1.5.2-9ubuntu1 0
           2012 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
share|improve this question
    
Here you are: paste.ubuntu.com/6556958 –  Abhinav Dec 11 '13 at 17:07
    
Done. Thanks for sparing your time in attempting an answer. –  Abhinav Dec 11 '13 at 17:12
    
@Braiam, could you think of anything that is going wrong? –  Abhinav Dec 11 '13 at 17:27
add comment

1 Answer 1

up vote 2 down vote accepted

I haven't seen your sources.list file, but I'm almost sure that you don't have the precise-updates and precise-security repositories activated. You should add the following two lines to your sources.list

http://archive.ubuntu.com/ubuntu/ precise-updates main universe restricted multiverse
http://archive.ubuntu.com/ubuntu/ precise-security main universe restricted multiverse

Update your lists with sudo apt-get update then upgrade as usual.

share|improve this answer
    
Yes, that indeed was the problem. Silly me! I don't remember disabling it. Thanks! –  Abhinav Dec 11 '13 at 17:49
    
I'm sorry, I can't yet vote up your answer because it needs 15 reputation. –  Abhinav Dec 11 '13 at 17:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.