SOLVED. Cannot update Machine

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

SOLVED. Cannot update Machine

Postby pookito on Tue May 07, 2013 3:53 pm

After installing Mint Nadia KDE version, I noticed that my os, could not read the repositories therefore it cannot install any packages what so ever. I tried to search for repositories and so forth, and I came across a good advice, delete the repositories and add them. Which I did using the following commands: sudo rm -fv /var/lib/apt/lists/*
sudo apt-get update. Sadly, it did not work.

The truth is I need to update the brand new installation, but I cannot. Any advise?
Last edited by pookito on Tue May 07, 2013 5:25 pm, edited 1 time in total.
pookito
Level 1
Level 1
 
Posts: 2
Joined: Fri Apr 19, 2013 7:22 pm

Linux Mint is funded by ads and donations.
 

Re: Cannot update Machine

Postby DrHu on Tue May 07, 2013 4:04 pm

Run synaptic, look at the package list of installed application
--run an update via synaptic
    Or try the GUI package manager from Mint and do a mintupdate first, update the package manager before any other updates..


get your list of installed packages..
http://www.howtogeek.com/howto/linux/sh ... or-debian/
Code: Select all
dpkg --get-selections | grep kde

--get only kde packages

Or check your CD/DVD for the /etc/apts/sources ..file(s), or ask for the standard repository list from these forums; or search for them yourself..
http://packages.linuxmint.com/list.php?release=Nadia
http://hajimu.org/?tag=sources-list
Last edited by DrHu on Tue May 07, 2013 4:05 pm, edited 1 time in total.
User avatar
DrHu
Level 16
Level 16
 
Posts: 6895
Joined: Wed Jun 17, 2009 8:20 pm

Re: Cannot update Machine

Postby xenopeek on Tue May 07, 2013 4:05 pm

You may try this command:
Code: Select all
sudo sed -i 's/nadia/quantal/' /etc/apt/sources.list.d/medibuntu.list /etc/apt/sources.list.d/ubuntu.list

It will make sure your distribution name is correct on the Ubuntu repositories. There is a known problem that in some cases the Ubuntu repositories get a Linux Mint distribution name on them--which won't work. If the files are already correct, this won't do any harm.

After the above command do again:
Code: Select all
apt update

If case of further problems, please copy & paste the errors here and also include the output of this command:
Code: Select all
inxi -r
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14990
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Cannot update Machine

Postby pookito on Tue May 07, 2013 5:23 pm

xenopeek wrote:You may try this command:
Code: Select all
sudo sed -i 's/nadia/quantal/' /etc/apt/sources.list.d/medibuntu.list /etc/apt/sources.list.d/ubuntu.list

It will make sure your distribution name is correct on the Ubuntu repositories. There is a known problem that in some cases the Ubuntu repositories get a Linux Mint distribution name on them--which won't work. If the files are already correct, this won't do any harm.

After the above command do again:
Code: Select all
apt update

If case of further problems, please copy & paste the errors here and also include the output of this command:
Code: Select all
inxi -r


I'd like to thank you for taking the time on helping me for this. It seems that the command that you gave me did the trick. Thanks for your time.

:)
pookito
Level 1
Level 1
 
Posts: 2
Joined: Fri Apr 19, 2013 7:22 pm


Return to Installation & Boot

Who is online

Users browsing this forum: Bruno529, juancarlos68 and 17 guests