Software Updates Error

Asked by Nayef Copty

Hello,

It says on my top, right corner that I have to install two new updates. I click on it and I get the following
"Only one software management tool is allowed to run at a time. Please close the other application e.g aptitude or synaptic first"

Please note that I do not have neither aptitude nor synaptic open.

Thank you for your help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
tokj
Solved:
Last query:
Last reply:
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) said :
#1

If you have configured software properties to download updates in the background then it may be running non-interactively. Wait a while until it finishes and then try again.

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#2

I did not configure it. I've had this problem for a few hours now, still not working.

Revision history for this message
Ralph Janke (txwikinger) said :
#3

Run

    sudo lsof | grep /var/lib/dpkg/lock

in a commandline terminal. That will show you the application that is locking the update db at the moment.

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#4

nayef@nayef-desktop:~$ sudo lsof | grep /var/lib/dpkg/lock
nayef@nayef-desktop:~$

I get nothing. I enter my root password and get nothing.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) said :
#5

If you try again, can you now use the update manager?
Remember only click it once, not double-click.

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#6

Still does not work.

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#7

If sudo lsof /var/lib/dpkg/lock or sudo lsof /var/lib/apt/lists/lock gives no results you can remove those files:

sudo rm /var/lib/dpkg/lock

or

sudo rm /var/lib/apt/lists/lock

and then retry.

Regards

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#8

Still same problem :(

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#9

If you run in terminal sudo apt-get update or sudo apt-get upgrade works?

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#10

That works..

On 2/16/07, Tom Kravanja <email address hidden> wrote:
>
> Your support request #3731 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>
> Status: Open => Needs information
>
> Tom Kravanja requested for more information:
> If you run in terminal sudo apt-get update or sudo apt-get upgrade
> works?
>
> _______________________________________________________________________
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>

--
Nayef Copty
Chief Executive Officer
Fire Blaze Host
Mobile +962 79 5256962
www.fireblazehost.com
<email address hidden>

Confidentiality Note:
This message, including any attachments, is confidential and may be
privileged .If you have received it by mistake please notify the sender by
return e-mail and delete the message from your system. Any unauthorized use
or dissemination of this message, whole or part, is strictly prohibited.
Please note that e-mails are susceptible to change. Fire Blaze Hosting shall
not be liable for the improper, or incomplete, transmission of the
information contained in this communication, nor for any delay in its
receipt, or damage to your system. Fire Blaze Hosting does not guarantee
that the integrity of this communication has been maintained or that this
communication is free of viruses, interceptions or interference. You should
implement virus checking procedures before opening this email and any
attachments.

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#11

Probably is a problem related to update-manager.

Update your system with apt or synaptic and then restart your computer. Maybe this helps.

Regards

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#12

Hello,

When I ran the terminate update command, it said Error in updating Virtualbox.
I was installing virtualbox from a .deb package yesterday and it took a lot of time so I stopped it during the installation. Could that be the cause?

Revision history for this message
Andrew Barber (andrew-alex-barber) said :
#13

Does it give you any errors when you apt-get install something?

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#14

Yes, even in synaptic. I am reinstalling the virtualbox .deb package, but just like last time, it just stays loading for ever.

Revision history for this message
Andrew Barber (andrew-alex-barber) said :
#15

Could you try

sudo apt-get -f install

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#16

nayef@nayef-desktop:~$ sudo apt-get -f install
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#17

Run sudo dpkg --configure -a.

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#18

nayef@nayef-desktop:~$ sudo dpkg --configure -a
Password:
nayef@nayef-desktop:~$

Nothing :(

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#19

If you launch sudo apt-get install -f which output do you obtain?

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#20

nayef@nayef-desktop:~$ sudo apt-get install -f
Password:
Reading package lists... Done
Building dependency tree... Done
E: The package virtualbox needs to be reinstalled, but I can't find an archive for it.

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#21

How did you install virtualbox?

I can't find it in the standard repos.

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#22

.deb package.

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#23

Try to reinstall visrtualbox with dpkg.

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#24

Could you give me the full code please

On 2/18/07, Tom Kravanja <email address hidden> wrote:
>
> Your support request #3731 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>
> Status: Open => Answered
>
> Tom Kravanja proposed the following answer:
> Try to reinstall visrtualbox with dpkg.
>
> _______________________________________________________________________
> If this answers your request, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+ticket/3731/+confirm?answer_id=22
>
> If you still need support, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>

--
Nayef Copty
Chief Executive Officer
Fire Blaze Host
Mobile +962 79 5256962
www.fireblazehost.com
<email address hidden>

Confidentiality Note:
This message, including any attachments, is confidential and may be
privileged .If you have received it by mistake please notify the sender by
return e-mail and delete the message from your system. Any unauthorized use
or dissemination of this message, whole or part, is strictly prohibited.
Please note that e-mails are susceptible to change. Fire Blaze Hosting shall
not be liable for the improper, or incomplete, transmission of the
information contained in this communication, nor for any delay in its
receipt, or damage to your system. Fire Blaze Hosting does not guarantee
that the integrity of this communication has been maintained or that this
communication is free of viruses, interceptions or interference. You should
implement virus checking procedures before opening this email and any
attachments.

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#25

Sure:

cd directory_where_is_the_deb

(ie.: cd /Desktop)

then

sudo dpkg -i complete_name_of_the_deb_file

(ie.: sudo dpkg -i virtualbox_i386.deb)

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#26

Just wanted the dpkg -i :P

Anyway, that's the outcome:

 * Starting VirtualBox kernel module vboxdrv FATAL: Module vboxdrv not
found.

 * Modprobe vboxdrv failed. Please use 'dmesg' to find out why.
invoke-rc.d: initscript virtualbox, action "start" failed.
dpkg: error processing virtualbox (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 virtualbox

Is it possible to just COMPLETELY remove virtualbox, even though that it's
half installed now?

On 2/18/07, Tom Kravanja <<email address hidden> > wrote:
>
> Your support request #3731 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>
> Status: Open => Answered
>
> Tom Kravanja proposed the following answer:
> Sure:
>
> cd directory_where_is_the_deb
>
> (ie.: cd /Desktop)
>
> then
>
> sudo dpkg -i complete_name_of_the_deb_file
>
> (ie.: sudo dpkg -i virtualbox_i386.deb)
>
> _______________________________________________________________________
> If this answers your request, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+ticket/3731/+confirm?answer_id=24
>
> If you still need support, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>

--
Nayef Copty
Chief Executive Officer
Fire Blaze Host
Mobile +962 79 5256962
www.fireblazehost.com
<email address hidden>

Confidentiality Note:
This message, including any attachments, is confidential and may be
privileged .If you have received it by mistake please notify the sender by
return e-mail and delete the message from your system. Any unauthorized use
or dissemination of this message, whole or part, is strictly prohibited.
Please note that e-mails are susceptible to change. Fire Blaze Hosting shall
not be liable for the improper, or incomplete, transmission of the
information contained in this communication, nor for any delay in its
receipt, or damage to your system. Fire Blaze Hosting does not guarantee
that the integrity of this communication has been maintained or that this
communication is free of viruses, interceptions or interference. You should
implement virus checking procedures before opening this email and any
attachments.

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#27

Yes, by using the --force-reinstreq option. It's not very raccomandable though:

sudo dpkg -r --force-reinstreq package_name

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#28

Ops, sorry. I did a mistake:

sudo dpkg -r --force-remove-reinstreq package_name.deb

Sorry :P

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#29

dpkg: unknown force/refuse option `VirtualBox_1.3.4_Ubuntu_dapper_i386.deb'

:( Virtualbox ruined my live updates from Ubuntu !!! What do I do

On 2/18/07, Tom Kravanja <email address hidden> wrote:
>
> Your support request #3731 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>
> Status: Open => Answered
>
> Tom Kravanja proposed the following answer:
> Yes, by using the --force-reinstreq option. It's not very raccomandable
> though:
>
> sudo dpkg -r --force-reinstreq package_name
>
> _______________________________________________________________________
> If this answers your request, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+ticket/3731/+confirm?answer_id=26
>
> If you still need support, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>

--
Nayef Copty
Chief Executive Officer
Fire Blaze Host
Mobile +962 79 5256962
www.fireblazehost.com
<email address hidden>

Confidentiality Note:
This message, including any attachments, is confidential and may be
privileged .If you have received it by mistake please notify the sender by
return e-mail and delete the message from your system. Any unauthorized use
or dissemination of this message, whole or part, is strictly prohibited.
Please note that e-mails are susceptible to change. Fire Blaze Hosting shall
not be liable for the improper, or incomplete, transmission of the
information contained in this communication, nor for any delay in its
receipt, or damage to your system. Fire Blaze Hosting does not guarantee
that the integrity of this communication has been maintained or that this
communication is free of viruses, interceptions or interference. You should
implement virus checking procedures before opening this email and any
attachments.

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#30

Yes, in the first message i forgot a "remove". So I've written another message with the correct command.

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#31

nayef@nayef-desktop:~/Desktop$ sudo dpkg -r --force-remove-reinstreq VirtualBox_1.3.4_Ubuntu_dapper_i386.deb
Password:
dpkg: you must specify packages by their own names, not by quoting the names of the files they come in

Revision history for this message
williamts99 (williamts99) said :
#32

Exactly what dpkg says

'you must specify packages by their own names, not by quoting the names of the files they come in'

for example you wan to remove VirtualBox not VirtualBox_1.3.4_Ubuntu_dapper_i386.deb

Best Regards
Williamts99

Revision history for this message
williamts99 (williamts99) said :
#33

Also, you may wish to have a read through the following page:

https://help.ubuntu.com/community/InstallingSoftware

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#34

I already know how to install packages. It's just that I can't anymore! Virtualbox ruined it.

I used the dpkg remove option once, and it still did not work. Second time i got this:
sudo dpkg -r --force-remove-reinstreq VirtualBox
dpkg - warning: ignoring request to remove virtualbox, only the config
 files of which are on the system. Use --purge to remove them too.

When i want to install updates, I get the following:

Updating Resporatries:
http://theli.free.fr/packages/dists/dapper/listen/binary-i386/Packages.gz: 301 Moved Permanently
http://j.portalier.free.fr/debian/dists/testing/main/binary-i386/Packages.gz: 404 Not Found
http://theli.free.fr/packages/dists/dapper/listen/source/Sources.gz: 301 Moved Permanently
http://apebox.org/badgerexplosion/./Packages.gz: 301 Moved Permanently
http://qerub.ondska.net/./Packages.gz: 404 Not Found [IP: 64.20.43.107 80]

The following problems were found on your system:
W: GPG error: http://free.linux.hp.com breezy-seveas Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 49A120FD1135D466

What do I do?

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#35

This is not a apt, dpkg or update-manager problem anymore.

The errors above are caused by non-existent or wrong repositories in your sources.list.

The last one hasn't got the gpg authentication key.

Comment the related lines in your sources.list to correct the problem.

Best regards

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#36

I removed them.. now when I click on the update button, it loads (updates
the repositories) and then nothing happens, just goes away!

Although synaptic now works :)

On 2/20/07, Tom Kravanja <email address hidden> wrote:
>
> Your support request #3731 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>
> Status: Open => Answered
>
> Tom Kravanja proposed the following answer:
> This is not a apt, dpkg or update-manager problem anymore.
>
> The errors above are caused by non-existent or wrong repositories in
> your sources.list.
>
> The last one hasn't got the gpg authentication key.
>
> Comment the related lines in your sources.list to correct the problem.
>
> Best regards
>
> _______________________________________________________________________
> If this answers your request, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+ticket/3731/+confirm?answer_id=34
>
> If you still need support, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>

--
Nayef Copty
Chief Executive Officer
Fire Blaze Host
Mobile +962 79 5256962
www.fireblazehost.com
<email address hidden>

Confidentiality Note:
This message, including any attachments, is confidential and may be
privileged .If you have received it by mistake please notify the sender by
return e-mail and delete the message from your system. Any unauthorized use
or dissemination of this message, whole or part, is strictly prohibited.
Please note that e-mails are susceptible to change. Fire Blaze Hosting shall
not be liable for the improper, or incomplete, transmission of the
information contained in this communication, nor for any delay in its
receipt, or damage to your system. Fire Blaze Hosting does not guarantee
that the integrity of this communication has been maintained or that this
communication is free of viruses, interceptions or interference. You should
implement virus checking procedures before opening this email and any
attachments.

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#37

But you have updates to install?

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#38

Yea, 2 updates

Revision history for this message
tokj (tokj-deactivatedaccount) said :
#39

And if you click on "Install updates" nothing happens?

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#40

It says:
Downloading Package Information
The repositories are now checking for new updates etc...

Then it closes and nothing happens :S

On 2/20/07, Tom Kravanja <email address hidden> wrote:
>
> Your support request #3731 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>
> Status: Open => Needs information
>
> Tom Kravanja requested for more information:
> And if you click on "Install updates" nothing happens?
>
> _______________________________________________________________________
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+ticket/3731
>

--
Nayef Copty
Chief Executive Officer
Fire Blaze Host
Mobile +962 79 5256962
www.fireblazehost.com
<email address hidden>

Confidentiality Note:
This message, including any attachments, is confidential and may be
privileged .If you have received it by mistake please notify the sender by
return e-mail and delete the message from your system. Any unauthorized use
or dissemination of this message, whole or part, is strictly prohibited.
Please note that e-mails are susceptible to change. Fire Blaze Hosting shall
not be liable for the improper, or incomplete, transmission of the
information contained in this communication, nor for any delay in its
receipt, or damage to your system. Fire Blaze Hosting does not guarantee
that the integrity of this communication has been maintained or that this
communication is free of viruses, interceptions or interference. You should
implement virus checking procedures before opening this email and any
attachments.

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#41

??

Revision history for this message
Best tokj (tokj-deactivatedaccount) said :
#42

Believe me that I am a little confused.

Try to reinstall update-manager:

sudo apt-get install --reinstall update-manager

There was a similar problem in the italian version in Ubuntu Edgy though.

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#43

User confirmed that the request is solved.