DIGIT-ARC read-only archive · snapshot: July 23, 2026

not able to dpkg

8 posts · originally from https://geek.digit.in/community/threads/not-able-to-dpkg.79972/

Ishan
Ishan Original post #1
Feb 9, 2008 at 9:17 AM
i am using ubuntu 7.10

Problem 1)

when i am giving the command:
sudo dpkg -i <any debian package>.deb

it says dpkg: status database area is locked by another process

what should i do?
i even tried alien but the same error...

Problem 2)

Till yesterday everything was fine with my ubuntu...it was automatically mounting my all NTFS as well as FAT32 partitions and was showing on Desktop

But today i rebooted twice
and both the time it wasnt able to mount them automatically.

i tried to mount them manually and it didnt gave any error.
but when i checked the mount points i found that NTFS partitions were not mounted and only two FAT32 partitions were mounted where as i have more.

but all the mount points were shown and the ones which were not mounted properly were having a Cross on their icon.


Pendrives work FIne.
amitava82
Feb 9, 2008 at 9:42 AM
Thats because You may have Synaptic package manager any other package manager running in the background. Try quiting all of them.

Go to Windows and run scandisk on the NTFS partition, The restart computer. You can add force mount option in fstab
Code:
# Entry for /dev/sda5 :
UUID=1E3C966C3C963EA9 /media/sda5 ntfs-3g defaults,[B]force 0 0[/B]
Rahim
Rahim #3
Feb 9, 2008 at 10:50 AM
SOmetimes when you dont shutdown Windows properly, Ubuntu might not mount ntfs partitions. So boot it into Windows and run chkdsk as said by Amitava above, then boot into Ubuntu and it will sure mount everything again.
Have you installed ntfs-3g? Do you still have the folders in /media?

As for your 1st query only one package manager should be running at one time, among Synaptic, Update Manager, Add/Remove or dpkg.
Ishan
Ishan #4
Feb 9, 2008 at 4:21 PM
O ya ...i hibernated windows thats why?
i try to reboot in to ubuntu and tell u...
Rahim
Rahim #5
Feb 9, 2008 at 4:28 PM
^OK Boot into Windows and then shutdown properly. Then Boot into Ubuntu.
Anyway have you edited your partitions? Jus a query as it changes the UUID used ny ntfs-3g to mount different partitions.
praka123
Feb 9, 2008 at 5:02 PM
Problem 1)

when i am giving the command:
sudo dpkg -i <any debian package>.deb

it says dpkg: status database area is locked by another process

what should i do?
i even tried alien but the same error...
make sure,ur not running add/remove app or synaptic!
now still if the error is faced,
do:
Code:
sudo rm /var/lib/dpkg/lock
and try :)

ntfs not mounting means ur ntfs fs needs error checking.u should do that using windows chkdsk by selecting the partition.

u can force mount ntfs using ntfs utils.I dont wanna say that!as it can corrupt ur ntfs partn :-|
Ishan
Ishan #7
Feb 10, 2008 at 10:12 AM
when i restarted ubuntu ...debian problem solved
and when i did a proper shutdown of XP(which i hibernated) partitions got mounted properly

Thanks EveryBody............
Rahim
Rahim #8
Feb 10, 2008 at 10:33 AM
Ok :D