PDA

View Full Version : [SOLVED] beginner for ubuntu



ramanathan
March 13th, 2012, 01:24 PM
ramanathan@ramanathan:~$ sudo su
[sudo] password for ramanathan:
root@ramanathan:/home/ramanathan# apt-get update
Ign http://in.archive.ubuntu.com oneiric InRelease
Ign http://archive.canonical.com oneiric InRelease
Ign http://in.archive.ubuntu.com oneiric-updates InRelease
Hit http://in.archive.ubuntu.com oneiric Release.gpg
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://in.archive.ubuntu.com oneiric-updates Release.gpg
Hit http://archive.canonical.com oneiric Release
Hit http://in.archive.ubuntu.com oneiric Release
Hit http://in.archive.ubuntu.com oneiric-updates Release
Hit http://in.archive.ubuntu.com oneiric/main Sources
Hit http://in.archive.ubuntu.com oneiric/restricted Sources
Hit http://in.archive.ubuntu.com oneiric/universe Sources
Hit http://archive.canonical.com oneiric/partner i386 Packages
Hit http://in.archive.ubuntu.com oneiric/multiverse Sources
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Hit http://in.archive.ubuntu.com oneiric/main i386 Packages
Hit http://in.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://in.archive.ubuntu.com oneiric/universe i386 Packages
Hit http://in.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://in.archive.ubuntu.com oneiric/main TranslationIndex
Hit http://in.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://in.archive.ubuntu.com oneiric/restricted TranslationIndex
Ign http://security.ubuntu.com oneiric-security InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Hit http://in.archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://security.ubuntu.com oneiric-security Release.gpg
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://in.archive.ubuntu.com oneiric-updates/main Sources
Hit http://security.ubuntu.com oneiric-security Release
Hit http://extras.ubuntu.com oneiric Release
Hit http://in.archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://security.ubuntu.com oneiric-security/main Sources
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://in.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Hit http://in.archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://in.archive.ubuntu.com oneiric-updates/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://in.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted Sources
Hit http://in.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://security.ubuntu.com oneiric-security/universe Sources
Hit http://in.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/main i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://in.archive.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://archive.canonical.com oneiric/partner Translation-en_IN
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://in.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Ign http://archive.canonical.com oneiric/partner Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://in.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://in.archive.ubuntu.com oneiric/main Translation-en
Hit http://in.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://in.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://in.archive.ubuntu.com oneiric/universe Translation-en
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Ign http://extras.ubuntu.com oneiric/main Translation-en_IN
Hit http://in.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Ign http://extras.ubuntu.com oneiric/main Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://in.archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@ramanathan:/home/ramanathan# killall *apt* *dpkg*
*apt*: no process found
*dpkg*: no process found
root@ramanathan:/home/ramanathan# sudo killall *apt* *dpkg*
*apt*: no process found
*dpkg*: no process found
root@ramanathan:/home/ramanathan# ps -ef | grep apt
root 2142 2051 0 17:15 ? 00:00:00 apt-get upgrade
root 2196 2142 0 17:17 pts/2 00:00:00 /usr/bin/dpkg --status-fd 35 --unpack --auto-deconfigure /var/cache/apt/archives/ttf-mscorefonts-installer_3.3ubuntu4_all.deb /var/cache/apt/archives/mysql-common_5.1.61-0ubuntu0.11.10.1_all.deb /var/cache/apt/archives/libmysqlclient16_5.1.61-0ubuntu0.11.10.1_i386.deb
root 3580 1 0 17:27 ? 00:00:02 /usr/bin/python /usr/sbin/aptd
root 3606 3387 0 17:32 pts/1 00:00:00 grep --color=auto apt
root@ramanathan:/home/ramanathan# kill -9 2142 2196 3580 3606
bash: kill: (3580) - No such process
bash: kill: (3606) - No such process
root@ramanathan:/home/ramanathan# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
root@ramanathan:/home/ramanathan#

ramanathan
March 13th, 2012, 01:26 PM
i try to install the restricted-extras but it should not close and the error msg display

nothingspecial
March 13th, 2012, 01:49 PM
Thread moved to Absolute Beginner Talk.

UnknownFearNG
March 13th, 2012, 02:02 PM
It seems to think another process might be using "apt-get". Try logging off and back on an try it again. Post the results please.

winh8r
March 13th, 2012, 02:05 PM
First make sure that software centre is closed, also synaptic package manager is closed if you have it installed.

Open a terminal

NOTE*** you should not run as root, use the sudo command instead.

enter these commands in this order:


sudo apt-get clean

cd /var/lib/apt

sudo mv lists lists.old

sudo mkdir -p lists/partial

sudo apt-get clean

sudo apt-get update

ramanathan
March 13th, 2012, 02:07 PM
It seems to think another process might be using "apt-get". Try logging off and back on an try it again. Post the results please.
i will try it but it won't kill

ramanathan
March 13th, 2012, 02:09 PM
First make sure that software centre is closed, also synaptic package manager is closed if you have it installed.

Open a terminal

NOTE*** you should not run as root, use the sudo command instead.

enter these commands in this order:


sudo apt-get clean
sudo cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update



ramanathan@ramanathan:~$ sudo apt-get clean
[sudo] password for ramanathan:
ramanathan@ramanathan:~$ sudo cd /var/lib/apt
sudo: cd: command not found
ramanathan@ramanathan:~$

UnknownFearNG
March 13th, 2012, 02:13 PM
Don't run the cd command with sudo. I tried it and it didn't work :)



djmillier@Darkan:~$ sudo cd /var/lib/apt
[sudo] password for djmillier:
sudo: cd: command not found


Just run "cd /var/lib/apt" and then follow through with what winh8r said.

Frogs Hair
March 13th, 2012, 02:15 PM
Were you attempting to use more than one package management tool ? Sometimes you may see a similar error as below if that is the case.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?Make sure nothing is running and try this again.
sudo apt-get update && sudo apt-get upgrade

winh8r
March 13th, 2012, 02:18 PM
Don't run the cd command with sudo. I tried it and it didn't work :)



djmillier@Darkan:~$ sudo cd /var/lib/apt
[sudo] password for djmillier:
sudo: cd: command not found


Just run "cd /var/lib/apt" and then follow through with what winh8r said.


Oops!

changed it now.

thanks.

UnknownFearNG
March 13th, 2012, 02:21 PM
Oops!

changed it now.

thanks.

No worries :)

ramanathan
March 13th, 2012, 02:35 PM
Oops!

changed it now.

thanks.





ramanathan@ramanathan:~$ sudo apt-get clean
[sudo] password for ramanathan:
ramanathan@ramanathan:~$ cd /var/lib/apt
ramanathan@ramanathan:/var/lib/apt$ sudo mv lists lists.old
ramanathan@ramanathan:/var/lib/apt$ sudo mkdir -p lists/partial
ramanathan@ramanathan:/var/lib/apt$ sudo apt-get clean
ramanathan@ramanathan:/var/lib/apt$ sudo apt-get update
Ign http://in.archive.ubuntu.com oneiric InRelease
Ign http://security.ubuntu.com oneiric-security InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://in.archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.canonical.com oneiric InRelease
Get:1 http://in.archive.ubuntu.com oneiric Release.gpg [198 B]
Get:2 http://security.ubuntu.com oneiric-security Release.gpg [198 B]
Get:3 http://extras.ubuntu.com oneiric Release.gpg [72 B]
Get:4 http://archive.canonical.com oneiric Release.gpg [198 B]
Get:5 http://in.archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:6 http://in.archive.ubuntu.com oneiric Release [40.8 kB]
Get:7 http://extras.ubuntu.com oneiric Release [9,759 B]
Get:8 http://security.ubuntu.com oneiric-security Release [40.8 kB]
Get:9 http://archive.canonical.com oneiric Release [5,922 B]
Get:10 http://archive.canonical.com oneiric/partner i386 Packages [3,935 B]
Get:11 http://extras.ubuntu.com oneiric/main Sources [1,662 B]
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Get:12 http://in.archive.ubuntu.com oneiric-updates Release [40.8 kB]
Get:13 http://extras.ubuntu.com oneiric/main i386 Packages [2,477 B]
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Get:14 http://security.ubuntu.com oneiric-security/main Sources [34.5 kB]
Get:15 http://in.archive.ubuntu.com oneiric/main Sources [877 kB]
Get:16 http://security.ubuntu.com oneiric-security/restricted Sources [14 B]
Get:17 http://security.ubuntu.com oneiric-security/universe Sources [12.2 kB]
Ign http://archive.canonical.com oneiric/partner Translation-en_IN
Get:18 http://security.ubuntu.com oneiric-security/multiverse Sources [1,654 B]
Ign http://archive.canonical.com oneiric/partner Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en_IN
Get:19 http://security.ubuntu.com oneiric-security/main i386 Packages [90.4 kB]
Ign http://extras.ubuntu.com oneiric/main Translation-en
Get:20 http://security.ubuntu.com oneiric-security/restricted i386 Packages [14 B]
Get:21 http://security.ubuntu.com oneiric-security/universe i386 Packages [30.4 kB]
Get:22 http://security.ubuntu.com oneiric-security/multiverse i386 Packages [3,362 B]
Get:23 http://security.ubuntu.com oneiric-security/main TranslationIndex [73 B]
Get:24 http://security.ubuntu.com oneiric-security/multiverse TranslationIndex [72 B]
Get:25 http://security.ubuntu.com oneiric-security/restricted TranslationIndex [70 B]
Get:26 http://security.ubuntu.com oneiric-security/universe TranslationIndex [73 B]
Get:27 http://security.ubuntu.com oneiric-security/main Translation-en [50.7 kB]
Get:28 http://security.ubuntu.com oneiric-security/multiverse Translation-en [1,494 B]
Get:29 http://security.ubuntu.com oneiric-security/restricted Translation-en [14 B]
Get:30 http://security.ubuntu.com oneiric-security/universe Translation-en [21.4 kB]
Get:31 http://in.archive.ubuntu.com oneiric/restricted Sources [5,351 B]
Get:32 http://in.archive.ubuntu.com oneiric/universe Sources [4,677 kB]
Get:33 http://in.archive.ubuntu.com oneiric/multiverse Sources [149 kB]
Get:34 http://in.archive.ubuntu.com oneiric/main i386 Packages [1,226 kB]
Get:35 http://in.archive.ubuntu.com oneiric/restricted i386 Packages [8,216 B]
Get:36 http://in.archive.ubuntu.com oneiric/universe i386 Packages [4,468 kB]
Get:37 http://in.archive.ubuntu.com oneiric/multiverse i386 Packages [119 kB]
Get:38 http://in.archive.ubuntu.com oneiric/main TranslationIndex [3,289 B]
Get:39 http://in.archive.ubuntu.com oneiric/multiverse TranslationIndex [2,265 B]
Get:40 http://in.archive.ubuntu.com oneiric/restricted TranslationIndex [2,263 B]
Get:41 http://in.archive.ubuntu.com oneiric/universe TranslationIndex [2,640 B]
Get:42 http://in.archive.ubuntu.com oneiric-updates/main Sources [130 kB]
Get:43 http://in.archive.ubuntu.com oneiric-updates/restricted Sources [1,337 B]
Get:44 http://in.archive.ubuntu.com oneiric-updates/universe Sources [46.9 kB]
Get:45 http://in.archive.ubuntu.com oneiric-updates/multiverse Sources [3,648 B]
Get:46 http://in.archive.ubuntu.com oneiric-updates/main i386 Packages [299 kB]
Get:47 http://in.archive.ubuntu.com oneiric-updates/restricted i386 Packages [2,968 B]
Get:48 http://in.archive.ubuntu.com oneiric-updates/universe i386 Packages [103 kB]
Get:49 http://in.archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6,359 B]
Get:50 http://in.archive.ubuntu.com oneiric-updates/main TranslationIndex [74 B]
Get:51 http://in.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:52 http://in.archive.ubuntu.com oneiric-updates/restricted TranslationIndex [71 B]
Get:53 http://in.archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Get:54 http://in.archive.ubuntu.com oneiric/main Translation-en [701 kB]
Get:55 http://in.archive.ubuntu.com oneiric/multiverse Translation-en [92.6 kB]
Get:56 http://in.archive.ubuntu.com oneiric/restricted Translation-en [2,229 B]
Get:57 http://in.archive.ubuntu.com oneiric/universe Translation-en [3,165 kB]
Get:58 http://in.archive.ubuntu.com oneiric-updates/main Translation-en [141 kB]
Get:59 http://in.archive.ubuntu.com oneiric-updates/multiverse Translation-en [3,524 B]
Get:60 http://in.archive.ubuntu.com oneiric-updates/restricted Translation-en [508 B]
Get:61 http://in.archive.ubuntu.com oneiric-updates/universe Translation-en [61.8 kB]
Fetched 16.7 MB in 12min 10s (22.9 kB/s)
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
ramanathan@ramanathan:/var/lib/apt$

ramanathan
March 13th, 2012, 02:37 PM
Oops!

changed it now.

thanks.



ramanathan@ramanathan:~$ sudo apt-get clean
[sudo] password for ramanathan:
ramanathan@ramanathan:~$ cd /var/lib/apt
ramanathan@ramanathan:/var/lib/apt$ sudo mv lists lists.old
ramanathan@ramanathan:/var/lib/apt$ sudo mkdir -p lists/partial
ramanathan@ramanathan:/var/lib/apt$ sudo apt-get clean
ramanathan@ramanathan:/var/lib/apt$ sudo apt-get update
Ign http://in.archive.ubuntu.com oneiric InRelease
Ign http://security.ubuntu.com oneiric-security InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://in.archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.canonical.com oneiric InRelease
Get:1 http://in.archive.ubuntu.com oneiric Release.gpg [198 B]
Get:2 http://security.ubuntu.com oneiric-security Release.gpg [198 B]
Get:3 http://extras.ubuntu.com oneiric Release.gpg [72 B]
Get:4 http://archive.canonical.com oneiric Release.gpg [198 B]
Get:5 http://in.archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:6 http://in.archive.ubuntu.com oneiric Release [40.8 kB]
Get:7 http://extras.ubuntu.com oneiric Release [9,759 B]
Get:8 http://security.ubuntu.com oneiric-security Release [40.8 kB]
Get:9 http://archive.canonical.com oneiric Release [5,922 B]
Get:10 http://archive.canonical.com oneiric/partner i386 Packages [3,935 B]
Get:11 http://extras.ubuntu.com oneiric/main Sources [1,662 B]
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Get:12 http://in.archive.ubuntu.com oneiric-updates Release [40.8 kB]
Get:13 http://extras.ubuntu.com oneiric/main i386 Packages [2,477 B]
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Get:14 http://security.ubuntu.com oneiric-security/main Sources [34.5 kB]
Get:15 http://in.archive.ubuntu.com oneiric/main Sources [877 kB]
Get:16 http://security.ubuntu.com oneiric-security/restricted Sources [14 B]
Get:17 http://security.ubuntu.com oneiric-security/universe Sources [12.2 kB]
Ign http://archive.canonical.com oneiric/partner Translation-en_IN
Get:18 http://security.ubuntu.com oneiric-security/multiverse Sources [1,654 B]
Ign http://archive.canonical.com oneiric/partner Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en_IN
Get:19 http://security.ubuntu.com oneiric-security/main i386 Packages [90.4 kB]
Ign http://extras.ubuntu.com oneiric/main Translation-en
Get:20 http://security.ubuntu.com oneiric-security/restricted i386 Packages [14 B]
Get:21 http://security.ubuntu.com oneiric-security/universe i386 Packages [30.4 kB]
Get:22 http://security.ubuntu.com oneiric-security/multiverse i386 Packages [3,362 B]
Get:23 http://security.ubuntu.com oneiric-security/main TranslationIndex [73 B]
Get:24 http://security.ubuntu.com oneiric-security/multiverse TranslationIndex [72 B]
Get:25 http://security.ubuntu.com oneiric-security/restricted TranslationIndex [70 B]
Get:26 http://security.ubuntu.com oneiric-security/universe TranslationIndex [73 B]
Get:27 http://security.ubuntu.com oneiric-security/main Translation-en [50.7 kB]
Get:28 http://security.ubuntu.com oneiric-security/multiverse Translation-en [1,494 B]
Get:29 http://security.ubuntu.com oneiric-security/restricted Translation-en [14 B]
Get:30 http://security.ubuntu.com oneiric-security/universe Translation-en [21.4 kB]
Get:31 http://in.archive.ubuntu.com oneiric/restricted Sources [5,351 B]
Get:32 http://in.archive.ubuntu.com oneiric/universe Sources [4,677 kB]
Get:33 http://in.archive.ubuntu.com oneiric/multiverse Sources [149 kB]
Get:34 http://in.archive.ubuntu.com oneiric/main i386 Packages [1,226 kB]
Get:35 http://in.archive.ubuntu.com oneiric/restricted i386 Packages [8,216 B]
Get:36 http://in.archive.ubuntu.com oneiric/universe i386 Packages [4,468 kB]
Get:37 http://in.archive.ubuntu.com oneiric/multiverse i386 Packages [119 kB]
Get:38 http://in.archive.ubuntu.com oneiric/main TranslationIndex [3,289 B]
Get:39 http://in.archive.ubuntu.com oneiric/multiverse TranslationIndex [2,265 B]
Get:40 http://in.archive.ubuntu.com oneiric/restricted TranslationIndex [2,263 B]
Get:41 http://in.archive.ubuntu.com oneiric/universe TranslationIndex [2,640 B]
Get:42 http://in.archive.ubuntu.com oneiric-updates/main Sources [130 kB]
Get:43 http://in.archive.ubuntu.com oneiric-updates/restricted Sources [1,337 B]
Get:44 http://in.archive.ubuntu.com oneiric-updates/universe Sources [46.9 kB]
Get:45 http://in.archive.ubuntu.com oneiric-updates/multiverse Sources [3,648 B]
Get:46 http://in.archive.ubuntu.com oneiric-updates/main i386 Packages [299 kB]
Get:47 http://in.archive.ubuntu.com oneiric-updates/restricted i386 Packages [2,968 B]
Get:48 http://in.archive.ubuntu.com oneiric-updates/universe i386 Packages [103 kB]
Get:49 http://in.archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6,359 B]
Get:50 http://in.archive.ubuntu.com oneiric-updates/main TranslationIndex [74 B]
Get:51 http://in.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:52 http://in.archive.ubuntu.com oneiric-updates/restricted TranslationIndex [71 B]
Get:53 http://in.archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Get:54 http://in.archive.ubuntu.com oneiric/main Translation-en [701 kB]
Get:55 http://in.archive.ubuntu.com oneiric/multiverse Translation-en [92.6 kB]
Get:56 http://in.archive.ubuntu.com oneiric/restricted Translation-en [2,229 B]
Get:57 http://in.archive.ubuntu.com oneiric/universe Translation-en [3,165 kB]
Get:58 http://in.archive.ubuntu.com oneiric-updates/main Translation-en [141 kB]
Get:59 http://in.archive.ubuntu.com oneiric-updates/multiverse Translation-en [3,524 B]
Get:60 http://in.archive.ubuntu.com oneiric-updates/restricted Translation-en [508 B]
Get:61 http://in.archive.ubuntu.com oneiric-updates/universe Translation-en [61.8 kB]
Fetched 16.7 MB in 12min 10s (22.9 kB/s)
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
ramanathan@ramanathan:/var/lib/apt$

UnknownFearNG
March 13th, 2012, 02:38 PM
It's because the apt-get process was already ran, but didn't fully complete. Simply run:



sudo dpkg --configure -a


Followed by:



sudo apt-get update && sudo apt-get upgrade


And all should be well :)

ramanathan
March 13th, 2012, 02:42 PM
It's because the apt-get process was already ran, but didn't fully complete. Simply run:



sudo dpkg --configure -a
Followed by:



sudo apt-get update && sudo apt-get upgrade
And all should be well :)


ramanathan@ramanathan:/var/lib/apt$ sudo dpkg --configure -a
[sudo] password for ramanathan:
ramanathan@ramanathan:/var/lib/apt$ sudo apt-get update && sudo apt-get upgrade
Ign http://in.archive.ubuntu.com oneiric InRelease
Ign http://in.archive.ubuntu.com oneiric-updates InRelease
Ign http://security.ubuntu.com oneiric-security InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Hit http://in.archive.ubuntu.com oneiric Release.gpg
Hit http://security.ubuntu.com oneiric-security Release.gpg
Hit http://in.archive.ubuntu.com oneiric-updates Release.gpg
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://in.archive.ubuntu.com oneiric Release
Hit http://security.ubuntu.com oneiric-security Release
Hit http://extras.ubuntu.com oneiric Release
Hit http://in.archive.ubuntu.com oneiric-updates Release
Hit http://in.archive.ubuntu.com oneiric/main Sources
Hit http://security.ubuntu.com oneiric-security/main Sources
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://in.archive.ubuntu.com oneiric/restricted Sources
Hit http://in.archive.ubuntu.com oneiric/universe Sources
Hit http://security.ubuntu.com oneiric-security/restricted Sources
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe Sources
Hit http://in.archive.ubuntu.com oneiric/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/multiverse Sources
Hit http://in.archive.ubuntu.com oneiric/main i386 Packages
Hit http://in.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/main i386 Packages
Hit http://in.archive.ubuntu.com oneiric/universe i386 Packages
Ign http://archive.canonical.com oneiric InRelease
Hit http://in.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://in.archive.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://in.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://archive.canonical.com oneiric Release
Hit http://in.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://archive.canonical.com oneiric/partner i386 Packages
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://in.archive.ubuntu.com oneiric/universe TranslationIndex
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://in.archive.ubuntu.com oneiric-updates/main Sources
Hit http://in.archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://in.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://in.archive.ubuntu.com oneiric-updates/multiverse Sources
Ign http://extras.ubuntu.com oneiric/main Translation-en_IN
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://in.archive.ubuntu.com oneiric-updates/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://in.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://in.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://in.archive.ubuntu.com oneiric/main Translation-en
Hit http://in.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://in.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://in.archive.ubuntu.com oneiric/universe Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Ign http://archive.canonical.com oneiric/partner Translation-en_IN
Hit http://in.archive.ubuntu.com oneiric-updates/restricted Translation-en
Ign http://archive.canonical.com oneiric/partner Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
libmysqlclient16 mysql-common ttf-mscorefonts-installer
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 1,855 kB of archives.
After this operation, 213 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://in.archive.ubuntu.com/ubuntu/ oneiric/multiverse ttf-mscorefonts-installer all 3.3ubuntu4 [34.8 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ oneiric-updates/main mysql-common all 5.1.61-0ubuntu0.11.10.1 [11.8 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ oneiric-updates/main libmysqlclient16 i386 5.1.61-0ubuntu0.11.10.1 [1,808 kB]
Fetched 1,855 kB in 46s (40.1 kB/s)
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ...
dpkg: warning: files list file for package `ttf-mscorefonts-installer' missing, assuming package has no files currently installed.
(Reading database ... 152869 files and directories currently installed.)
Preparing to replace ttf-mscorefonts-installer 3.3ubuntu4 (using .../ttf-mscorefonts-installer_3.3ubuntu4_all.deb) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing /var/cache/apt/archives/ttf-mscorefonts-installer_3.3ubuntu4_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Preparing to replace mysql-common 5.1.58-1ubuntu1 (using .../mysql-common_5.1.61-0ubuntu0.11.10.1_all.deb) ...
Unpacking replacement mysql-common ...
Preparing to replace libmysqlclient16 5.1.58-1ubuntu1 (using .../libmysqlclient16_5.1.61-0ubuntu0.11.10.1_i386.deb) ...
Unpacking replacement libmysqlclient16 ...
Errors were encountered while processing:
/var/cache/apt/archives/ttf-mscorefonts-installer_3.3ubuntu4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ramanathan@ramanathan:/var/lib/apt$

UnknownFearNG
March 13th, 2012, 02:52 PM
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ...
dpkg: warning: files list file for package `ttf-mscorefonts-installer' missing, assuming package has no files currently installed.
(Reading database ... 152869 files and directories currently installed.)
Preparing to replace ttf-mscorefonts-installer 3.3ubuntu4 (using .../ttf-mscorefonts-installer_3.3ubuntu4_all.deb) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing /var/cache/apt/archives/ttf-mscorefonts-installer_3.3ubuntu4_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Preparing to replace mysql-common 5.1.58-1ubuntu1 (using .../mysql-common_5.1.61-0ubuntu0.11.10.1_all.deb) ...
Unpacking replacement mysql-common ...
Preparing to replace libmysqlclient16 5.1.58-1ubuntu1 (using .../libmysqlclient16_5.1.61-0ubuntu0.11.10.1_i386.deb) ...
Unpacking replacement libmysqlclient16 ...
Errors were encountered while processing:
/var/cache/apt/archives/ttf-mscorefonts-installer_3.3ubuntu4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ramanathan@ramanathan:/var/lib/apt$

OK, I've never seen these errors before. Try doing:



sudo apt-get install ubuntu-restricted-extras


It may work, I'm honestly spit-balling it here. Doesn't hurt to try though :)

ramanathan
March 13th, 2012, 03:02 PM
OK, I've never seen these errors before. Try doing:



sudo apt-get install ubuntu-restricted-extras
It may work, I'm honestly spit-balling it here. Doesn't hurt to try though :)



ramanathan@ramanathan:/var/lib/apt$ sudo apt-get install ubuntu-restricted-extras
[sudo] password for ramanathan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libavfilter2 libavdevice53
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
icedtea-netx icedtea-plugin icedtea6-plugin ttf-mscorefonts-installer
ubuntu-restricted-addons unrar
The following NEW packages will be installed:
icedtea-netx icedtea-plugin icedtea6-plugin ubuntu-restricted-addons
ubuntu-restricted-extras unrar
The following packages will be upgraded:
ttf-mscorefonts-installer
1 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 773 kB/808 kB of archives.
After this operation, 1,667 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://in.archive.ubuntu.com/ubuntu/ oneiric/multiverse ubuntu-restricted-addons i386 8 [2,648 B]
Get:2 http://in.archive.ubuntu.com/ubuntu/ oneiric/multiverse ubuntu-restricted-extras i386 56 [2,960 B]
Get:3 http://in.archive.ubuntu.com/ubuntu/ oneiric/multiverse unrar i386 1:4.0.3-1 [107 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ oneiric-updates/main icedtea-netx i386 1.1.3-1ubuntu1.1 [464 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ oneiric-updates/main icedtea-plugin i386 1.1.3-1ubuntu1.1 [196 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ oneiric-updates/universe icedtea6-plugin all 6b21.1.3-1ubuntu1.1 [930 B]
Fetched 773 kB in 27s (27.9 kB/s)
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ...
dpkg: warning: files list file for package `ttf-mscorefonts-installer' missing, assuming package has no files currently installed.
(Reading database ... 152869 files and directories currently installed.)
Preparing to replace ttf-mscorefonts-installer 3.3ubuntu4 (using .../ttf-mscorefonts-installer_3.3ubuntu4_all.deb) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing /var/cache/apt/archives/ttf-mscorefonts-installer_3.3ubuntu4_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Selecting previously deselected package ubuntu-restricted-addons.
Unpacking ubuntu-restricted-addons (from .../ubuntu-restricted-addons_8_i386.deb) ...
Selecting previously deselected package ubuntu-restricted-extras.
Unpacking ubuntu-restricted-extras (from .../ubuntu-restricted-extras_56_i386.deb) ...
Selecting previously deselected package unrar.
Unpacking unrar (from .../unrar_1%3a4.0.3-1_i386.deb) ...
Selecting previously deselected package icedtea-netx.
Unpacking icedtea-netx (from .../icedtea-netx_1.1.3-1ubuntu1.1_i386.deb) ...
Selecting previously deselected package icedtea-plugin.
Unpacking icedtea-plugin (from .../icedtea-plugin_1.1.3-1ubuntu1.1_i386.deb) ...
Selecting previously deselected package icedtea6-plugin.
Unpacking icedtea6-plugin (from .../icedtea6-plugin_6b21.1.3-1ubuntu1.1_all.deb) ...
Processing triggers for man-db ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing man-db (--unpack):
subprocess installed post-installation script returned error exit status 1
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Errors were encountered while processing:
/var/cache/apt/archives/ttf-mscorefonts-installer_3.3ubuntu4_all.deb
man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)
ramanathan@ramanathan:/var/lib/apt$

nothingspecial
March 13th, 2012, 03:08 PM
Hi.

When you post output from the terminal, please use code tags. The easiest way to do this is to highlight the text then click the # in the formatting options at the top of the posting box.

This makes it a lot easier for the people trying to help you read it.

It also means I don't have to keep doing it.
:)

UnknownFearNG
March 13th, 2012, 03:09 PM
This is really weird. Try running:



fuser -v /var/cache/debconf/config.dat


to see what debconf is using. Post the output here please.

UnknownFearNG
March 13th, 2012, 03:35 PM
Ramanathan, did you figure out what was causing the errors?

raja.genupula
March 13th, 2012, 04:00 PM
well @OP

1 open the location terminal and type
sudo nautilus

2.go to this location from filesystem /var/cache/debconf and delete a file named as password and with some extension

3 close that window and then in terminal do as this

sudo rm -rf /var/cache/apt/archives/*

4. then in the terminal do as
sudo apt-get install -f

I am sure man , this gonna help you .

All the best.

ramanathan
March 13th, 2012, 04:08 PM
Ramanathan, did you figure out what was causing the errors?

no,i can't
i try to install ubuntu-restricted-install unfortunately i skip it in half............i think it's the problem.

raja.genupula
March 13th, 2012, 04:10 PM
no,i can't
i try to install ubuntu-restricted-install unfortunately i skip it in half............i think it's the problem.

yeah , you stopped installing in middle while configuration going on and that the problem for the error . so try my above post . I am sure thats gonna help you .

ramanathan
March 13th, 2012, 04:11 PM
This is really weird. Try running:



fuser -v /var/cache/debconf/config.dat
to see what debconf is using. Post the output here please.


ramanathan@ramanathan:~$ fuser -v /var/cache/debconf/config.dat
ramanathan@ramanathan:~$

ramanathan
March 13th, 2012, 04:13 PM
well @OP

1 open the location terminal and type
sudo nautilus2.go to this location from filesystem /var/cache/debconf and delete a file named as password and with some extension

3 close that window and then in terminal do as this

sudo rm -rf /var/cache/apt/archives/*4. then in the terminal do as
sudo apt-get install -fI am sure man , this gonna help you .

All the best.

the file is named as passwords.dat,i want to delete it.............

raja.genupula
March 13th, 2012, 04:16 PM
ramanathan@ramanathan:~$ sudo naytilus
[sudo] password for ramanathan:
sudo: naytilus: command not found
ramanathan@ramanathan:~$

hi , see the command properly . i have nautilus and you have typed nayutilus . type it properly .

ramanathan
March 13th, 2012, 04:22 PM
hi , see the command properly . i have nautilus and you have typed nayutilus . type it properly .

sry...i saw it and correct it in that file named as passwords.dat i need to delete it.

raja.genupula
March 13th, 2012, 04:35 PM
sry...i saw it and correct it in that file named as passwords.dat i need to delete it.

yes delete that file .

ramanathan
March 13th, 2012, 04:39 PM
yes delete that file .

i delete it and run those two codes..
after this what can i do to install softwares....
after installing ubuntu11.10 my mouse pad is not working in my laptop but it worked in ubuntu 11.04..
thanks ....................................

ubudog
March 13th, 2012, 04:43 PM
i delete it and run those two codes..

Could you run & post the output now of:

sudo apt-get update

raja.genupula
March 13th, 2012, 04:47 PM
i delete it and run those two codes..
after this what can i do to install softwares....
after installing ubuntu11.10 my mouse pad is not working in my laptop but it worked in ubuntu 11.04..
thanks ....................................

from when you are facing this mouse issue ?

after doing last command , i mean sudo apt-get install -f it should do the remaining job . ok please post the code of terminal of here , i mean what you have typed there and what you got . and please place between code tags .

ramanathan
March 13th, 2012, 04:51 PM
Could you run & post the output now of:

sudo apt-get update



ramanathan@ramanathan:~$ sudo apt-get update

Ign http://security.ubuntu.com oneiric-security InRelease
Ign http://archive.canonical.com oneiric InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://in.archive.ubuntu.com oneiric InRelease
Get:1 http://security.ubuntu.com oneiric-security Release.gpg [198 B]
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://archive.canonical.com oneiric Release.gpg
Ign http://in.archive.ubuntu.com oneiric-updates InRelease
Hit http://in.archive.ubuntu.com oneiric Release.gpg
Get:2 http://security.ubuntu.com oneiric-security Release [40.8 kB]
Hit http://archive.canonical.com oneiric Release
Hit http://extras.ubuntu.com oneiric Release
Get:3 http://in.archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Hit http://archive.canonical.com oneiric/partner i386 Packages
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://in.archive.ubuntu.com oneiric Release
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Get:4 http://in.archive.ubuntu.com oneiric-updates Release [40.8 kB]
Get:5 http://security.ubuntu.com oneiric-security/main Sources [34.5 kB]
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://in.archive.ubuntu.com oneiric/main Sources
Hit http://in.archive.ubuntu.com oneiric/restricted Sources
Hit http://in.archive.ubuntu.com oneiric/universe Sources
Hit http://in.archive.ubuntu.com oneiric/multiverse Sources
Hit http://in.archive.ubuntu.com oneiric/main i386 Packages
Hit http://in.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://in.archive.ubuntu.com oneiric/universe i386 Packages
Ign http://archive.canonical.com oneiric/partner Translation-en_US
Hit http://in.archive.ubuntu.com oneiric/multiverse i386 Packages
Get:6 http://security.ubuntu.com oneiric-security/restricted Sources [14 B]
Ign http://archive.canonical.com oneiric/partner Translation-en
Hit http://in.archive.ubuntu.com oneiric/main TranslationIndex
Get:7 http://security.ubuntu.com oneiric-security/universe Sources [12.2 kB]
Hit http://in.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://in.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://in.archive.ubuntu.com oneiric/universe TranslationIndex
Get:8 http://security.ubuntu.com oneiric-security/multiverse Sources [1,654 B]
Get:9 http://in.archive.ubuntu.com oneiric-updates/main Sources [130 kB]
Get:10 http://security.ubuntu.com oneiric-security/main i386 Packages [90.4 kB]
Ign http://extras.ubuntu.com oneiric/main Translation-en_US
Ign http://extras.ubuntu.com oneiric/main Translation-en
Get:11 http://security.ubuntu.com oneiric-security/restricted i386 Packages [14 B]
Get:12 http://security.ubuntu.com oneiric-security/universe i386 Packages [30.4 kB]
Get:13 http://security.ubuntu.com oneiric-security/multiverse i386 Packages [3,362 B]
Get:14 http://security.ubuntu.com oneiric-security/main TranslationIndex [73 B]
Get:15 http://security.ubuntu.com oneiric-security/multiverse TranslationIndex [72 B]
Get:16 http://security.ubuntu.com oneiric-security/restricted TranslationIndex [70 B]
Get:17 http://security.ubuntu.com oneiric-security/universe TranslationIndex [73 B]
Get:18 http://in.archive.ubuntu.com oneiric-updates/restricted Sources [1,337 B]
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Get:19 http://in.archive.ubuntu.com oneiric-updates/universe Sources [46.9 kB]
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Get:20 http://in.archive.ubuntu.com oneiric-updates/multiverse Sources [3,648 B]
Get:21 http://in.archive.ubuntu.com oneiric-updates/main i386 Packages [299 kB]
Get:22 http://in.archive.ubuntu.com oneiric-updates/restricted i386 Packages [2,968 B]
Get:23 http://in.archive.ubuntu.com oneiric-updates/universe i386 Packages [103 kB]
Get:24 http://in.archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6,359 B]
Get:25 http://in.archive.ubuntu.com oneiric-updates/main TranslationIndex [74 B]
Get:26 http://in.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:27 http://in.archive.ubuntu.com oneiric-updates/restricted TranslationIndex [71 B]
Get:28 http://in.archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Hit http://in.archive.ubuntu.com oneiric/main Translation-en
Hit http://in.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://in.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://in.archive.ubuntu.com oneiric/universe Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://in.archive.ubuntu.com oneiric-updates/universe Translation-en
Fetched 848 kB in 1min 23s (10.1 kB/s)
Reading package lists... Done

ramanathan@ramanathan:~$

ramanathan
March 13th, 2012, 04:53 PM
from when you are facing this mouse issue ?

after doing last command , i mean sudo apt-get install -f it should do the remaining job . ok please post the code of terminal of here , i mean what you have typed there and what you got . and please place between code tags .

when i upgrade the version 11.04 to 11.10 i found the fault..
sorry now working properly........

raja.genupula
March 13th, 2012, 04:57 PM
ok what about your issue now ? is it fine ?

ramanathan
March 13th, 2012, 05:01 PM
ok what about your issue now ? is it fine ?

s..thanks a lot.................

raja.genupula
March 13th, 2012, 05:05 PM
hmm thats cool . Please mark the thread as solved from thread tools .
Thank you .

UnknownFearNG
March 13th, 2012, 06:21 PM
Glad you got everything working.

winh8r
March 13th, 2012, 08:22 PM
Well done guys!

ramanathan
March 14th, 2012, 01:53 PM
Glad you got everything working.

s.thanks.........