installation regarding alien

Asked by Sudip

sudip@MMS-Division:~$ apt-get install alien
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
sudip@MMS-Division:~$ y
bash: y: command not found
sudip@MMS-Division:~$

that's is problem when I try to install alien in order to convert rpm to dev.
plz help.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#1

You have to install it as root, so "sudo apt-get install alien".

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

Revision history for this message
Bhavani Shankar (bhavi) said :
#2

This message is telling you that there is a lock file preventing your package manager from getting exclusive access. Package managers create these lock files when they starts and if they crash, you reboot, your power goes out, etc, before they are completed, the lock file remains and the next manager believes another manager is already running.Use the following to delete the lock files, but make sure another copy of a package manager isn't running first.sudo rm /var/lib/dpkg/lock sudo rm /var/cache/apt/archives/lock

do prefix the command with sudo

sudo apt-get install alien

Or if the above doesnt work give the following command

dpkg --configure -a

sudo apt-get update

sudo apt-get install -f alien

Good luck!

Bhavani Shankar.

Revision history for this message
Bharadwaj Jaya (bharadwaj-j) said :
#3

or go to system ->adminstrator->Synaptic Package Manager and then search for alien install it...
But I would't recomend installing alien .... when everything is available in deb files.. this may even lead to crashing of OS.

Can you help with this problem?

Provide an answer of your own, or ask Sudip for more information if necessary.

To post a message you must log in.