Mint Update not working on Daryna

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Mint Update not working on Daryna

Postby taniwha on Sat Apr 19, 2008 2:44 pm

My Mint Update does not work. Repo are fine and my lan connection is fine.
Any suggestions?
taniwha
Level 1
Level 1
 
Posts: 3
Joined: Sat Apr 19, 2008 2:42 pm

Linux Mint is funded by ads and donations.
 

Re: Mint Update not working on Daryna

Postby newW2 on Sat Apr 19, 2008 3:53 pm

Hi taniwha,
Can you tell us what you mean by: "does not work"?
Is the icon showing in the task area of the gnome panel?
Have you launched it from MintMenu -->Administration-->mintUpdate?
Did it ever work?
HAve you restarted X with Ctrl+Alt+Backspace?

Thanks.
User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Re: Mint Update not working on Daryna

Postby taniwha on Sat Apr 19, 2008 5:24 pm

Well, the icon is there. When I launch it, it just hangs with no network activity and I have to force to quit.
From the terminal if I use apt-get update there is a 404 error of ubuntu repos.
Using synaptic I got this error
"Unable to lock directory".

Also MintInstall does not work pretty much in the same way. It justs hangs waiting for repos.

In my source.list, the list is the standard one from installation.
taniwha
Level 1
Level 1
 
Posts: 3
Joined: Sat Apr 19, 2008 2:42 pm

Re: Mint Update not working on Daryna

Postby newW2 on Sat Apr 19, 2008 10:10 pm

I see there are others that have had a problem as well. viewtopic.php?f=47&t=10860
From the User Manual:
"Note: If you get errors with MintUpdate (“Can’t refresh list of packages” for instance) you can check the logs for MintUpdate. Open a terminal and “cd /usr/lib/linuxmint/mintUpdate/logs” then “ls –lrt” and look at the last file appearing in the list with the command “more filename”. Most of the time, it’s to do with a problem with your /etc/apt/sources.list or your network settings. Don’t hesitate to ask on the forums if there is a problem you can’t resolve."
You have done the last thing and asked for help. I don't know that I can help, but I did have what sounds like a similar problem or same when a couple of the repositories in sources list were not well. I commented them out and ran update and things worked. As I recall I later found that I had broken packages, ran fix broken packages in synaptic, edited menu.list (un-commented the repo's I had commented out) and update was happy again.
The interesting thing is that you get the lock error. Open terminal and enter:
Code: Select all
sudo dpkg --configure -a

Then try mintUpdate.
User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Re: Mint Update not working on Daryna

Postby taniwha on Sun Apr 20, 2008 4:07 am

You will feel hungry again in another hour.
@acer-laptop:~$ cd /usr/lib/linuxmint/mintUpdate/logs
e@acer-laptop:/usr/lib/linuxmint/mintUpdate/logs$ ls-lsrt
bash: ls-lsrt: command not found
@acer-laptop:/usr/lib/linuxmint/mintUpdate/logs$ ls
0_11795.log 0_6523.log 0_7786.log 5753_6025.log 5951_6378.log
0_5886.log 0_6569.log 0_8096.log 5755_5983.log
0_6135.log 0_6575.log 5745_5963.log 5773_6085.log
@acer-laptop:/usr/lib/linuxmint/mintUpdate/logs$ more 0_11795.log
* Launching mintUpdate in root mode
starting refresh
auto-refresh timer is going to sleep for 5 minutes
another application is using APT
starting refresh
another application is using APT
starting refresh
the mintUpdate window is open, skipping auto-refresh
auto-refresh timer is going to sleep for 5 minutes
Exiting - requested by user
e@acer-laptop:/usr/lib/linuxmint/mintUpdate/logs$


This is my MintUpdate Log.
I still have the Lock problem in Synaptic. My list of repo is fine in the source.list.
What I can do?
I'll try a bit more otherwise change distro..
taniwha
Level 1
Level 1
 
Posts: 3
Joined: Sat Apr 19, 2008 2:42 pm

Re: Mint Update not working on Daryna

Postby MagnusB on Sun Apr 20, 2008 7:59 am

Are you using the KDE edition? I have had some issues with kubuntu after an update with APT being locked all the time.
Anyway, make sure you don't have any APT's running (synaptic/apt-get/aptitude/Adept etc) and try again. If this does not work, use the command newW suggested:
Code: Select all
sudo dpkg --configure -a

In most cases that will fix the lock issue.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
 
Posts: 1255
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: Mint Update not working on Daryna

Postby newW2 on Sun Apr 20, 2008 8:42 am

Yes another application is using APT - the log indicates that:
"another application is using APT"
And that is why you cannot get a lock. I'll raise up to Clem and Husse.
User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Re: Mint Update not working on Daryna

Postby Husse on Sun Apr 20, 2008 4:37 pm

The command after
Code: Select all
cd /usr/lib/linuxmint/mintUpdate/logs

is ls -lrt
Now this does not matter I think as we've established that something is using apt
Open a terminal and give the command top
Study the output and see if something is running that is indeed connected to apt
Unfortunately the search is not working too well so I don't find other posts with the problem
"another application is using APT", but I know they exist
Try
Code: Select all
sudo dpkg --configure -a

and/or
Code: Select all
apt-get install -f
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Mint Update not working on Daryna

Postby arv on Wed Apr 23, 2008 2:15 pm

Similar problem on my newly installed Mint Daryna . Internet connection work but I can't use mintupdate or synaptic but the problem seems to be more with the repos because it always seems to choke on http://archive.ubuntu.com/ubuntu/ gutsy ..............
Here is my sources.list
## -----------------------
## LINUX MINT REPOSITORIES
## -----------------------

## +++ Daryna (Linux Mint 4.0) +++
deb http://www.linuxmint.com/repository/ daryna main upstream import
## deb http://www.linuxmint.com/repository daryna community
## deb http://www.linuxmint.com/repository daryna backport

## +++ Romeo (Linux Mint Unstable) +++
## deb http://www.linuxmint.com/repository romeo daryna

## +++ Source Repositories +++
## deb-src http://www.linuxmint.com/repository daryna main upstream import
## deb-src http://www.linuxmint.com/repository daryna community
## deb-src http://www.linuxmint.com/repository daryna backport
## deb-src http://www.linuxmint.com/repository romeo daryna

## -------------------
## UBUNTU REPOSITORIES
## -------------------

## +++ Gutsy (Ubuntu 7.10) +++
deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse

## +++ Backports & Proposed (Ubuntu Unstable) +++
# deb http://archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb http://archive.ubuntu.com/ubuntu/ gutsy-proposed main restricted universe multiverse

## +++ Source Repositories +++
deb-src http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## ------------------
## OTHER REPOSITORIES
## ------------------

## +++ Canonical +++
deb http://archive.canonical.com/ubuntu/ gutsy partner

## +++ Medibuntu +++
deb http://packages.medibuntu.org/ gutsy free non-free


Could it be that I have to update the sources.list ?
arv
Level 1
Level 1
 
Posts: 2
Joined: Mon Apr 21, 2008 7:17 am

Re: Mint Update not working on Daryna

Postby Husse on Wed Apr 23, 2008 4:40 pm

@ arv
Your problem may be found and solved here
http://www.linuxmint.com/wiki/index.php ... e_programs
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Mint Update not working on Daryna

Postby arv on Fri Apr 25, 2008 9:38 am

Husse wrote:@ arv
Your problem may be found and solved here
http://www.linuxmint.com/wiki/index.php ... e_programs

Thanks , it seems to work .
arv
Level 1
Level 1
 
Posts: 2
Joined: Mon Apr 21, 2008 7:17 am

Re: Mint Update not working on Daryna

Postby clem on Mon Apr 28, 2008 7:05 pm

If you have problems with lock files make sure to close all applications based on APT (synaptic, adept, mintUpdate, apt-get..etc). Eventually if the problem persists, simply delete the lock file in question (with sudo rm).

Clem.
Image
User avatar
clem
Level 15
Level 15
 
Posts: 5553
Joined: Wed Nov 15, 2006 8:34 am

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 30 guests