Re: I accidentally installed lenny's linux-image/linux-header packages and I'm running Squeeze. What to do?
On 23/03/12 20:54, Alex Hutton wrote:
> Hello,
>
> Basically what happened was I did sudo aptitude update && sudo
> aptitude upgrade and I hit 'Y' to accept the packages being installed.
> Only afterwards did I realise it would be installing packages from
> Lenny. I tried to hit ctrl-c and ctrl-d to abort aptitude but this
> didn't seem to work.
No worries. It's fixable.
>
> To give more information, I am running Squeeze amd64. I have not
> rebooted since these packages were installed.
<snipped>
If, for some good reason, you need a package from an older release -
just download that package and it's dependancies.
If you want packages from a later release - try backports before mixing
repositories, and if you do mix repositories, use pinning.
>
> Any help or explanation would be greatly appreciated!
Please post the output of:-
$ cat /etc/apt/sources.list
$ cat /etc/apt/preferences
$ ls /etc/apt/sources.list.d
$ ls /etc/apt/preferences.d
It should be a matter of simply fixing your sources.list, updating dpkg,
checking the fixes, fixing, and a bit of a tidy.
>
> Thanks,
> Alex
>
>
Kind regards
--
Iceweasel/Firefox/Chrome/Chromium/Iceape/IE extensions for finding
answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/
Reply to: