Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 09-02-2008, 09:17 AM   #1 (permalink)
In The Zone
 
Ishan's Avatar
 
Join Date: Jun 2005
Location: Bharuch,Gujarat,India
Posts: 366
Default not able to dpkg


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.
__________________
When was the last time when you did something for the first time?
So many words for the broken heart.....

for world wars. ishangajera.blogspot.com
Ishan is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 09-02-2008, 09:42 AM   #2 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: not able to dpkg

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,force 0 0
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Old 09-02-2008, 10:50 AM   #3 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: not able to dpkg

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.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com

Last edited by Rahim; 09-02-2008 at 04:29 PM.
Rahim is offline  
Old 09-02-2008, 04:21 PM   #4 (permalink)
In The Zone
 
Ishan's Avatar
 
Join Date: Jun 2005
Location: Bharuch,Gujarat,India
Posts: 366
Default Re: not able to dpkg

O ya ...i hibernated windows thats why?
i try to reboot in to ubuntu and tell u...
__________________
When was the last time when you did something for the first time?
So many words for the broken heart.....

for world wars. ishangajera.blogspot.com
Ishan is offline  
Old 09-02-2008, 04:28 PM   #5 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: not able to dpkg

^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.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 09-02-2008, 05:02 PM   #6 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: not able to dpkg

Quote:
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
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 10-02-2008, 10:12 AM   #7 (permalink)
In The Zone
 
Ishan's Avatar
 
Join Date: Jun 2005
Location: Bharuch,Gujarat,India
Posts: 366
Default Re: not able to dpkg

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............
__________________
When was the last time when you did something for the first time?
So many words for the broken heart.....

for world wars. ishangajera.blogspot.com
Ishan is offline  
Old 10-02-2008, 10:33 AM   #8 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: not able to dpkg

Ok
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 02:54 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2