FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-26-2010, 07:37 AM
Aniruddha
 
Default Error during safe-upgrade: unable to stat `./mnt'

Hi,

When I try to do a safe-upgrade on a Lenny system I get the following
error:


------------------------------------------------------------------------
dpkg: error processing
/var/cache/apt/archives/base-files_5lenny6_amd64.deb (--unpack):
unable to stat `./mnt' (which I was about to install): No such device
or address

------------------------------------------------------------------------

I'm thinking this might be caused a bad block or bad cabling. Anyone who
knows what this is? Thanks in advance! Some more information:











------------------------------------------------------------------------
# ls /mnt
ls: cannot access /mnt: No such device or address
# cd /mnt
# pwd
/mnt
# ls
ls: cannot open directory .: No such device or address
--------------------------------------------------------------------------

From the syslog

-----------------------------------------------------------------------
Jul 25 17:02:47 server kernel: [4684955.154845] ide-cd: cmd 0x3 timed out
Jul 25 17:02:47 server kernel: [4684955.154884] hda: lost interrupt
Jul 25 17:03:47 server kernel: [4685015.281517] hda: lost interrupt
Jul 25 17:04:47 server kernel: [4685075.638334] ide-cd: cmd 0x3 timed out
Jul 25 17:04:47 server kernel: [4685075.638334] hda: lost interrupt
Jul 25 17:05:47 server kernel: [4685135.767911] ide-cd: cmd 0x3 timed out
Jul 25 17:05:47 server kernel: [4685135.767950] hda: lost interrupt
----------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4C4D3B54.70309@gmail.com">http://lists.debian.org/4C4D3B54.70309@gmail.com
 
Old 07-26-2010, 07:53 AM
Aniruddha
 
Default Error during safe-upgrade: unable to stat `./mnt'

Some more information:
Al other folders have normal permissions, /mnt on the*other*hand has:----------------------------------------------------------------------------------
# ls -la /d????????? *? ? * *? * * * *? * * * * * * * *? mnt-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
# mv /mnt ~mv: cannot stat `/mnt': No such device or address-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
# rm -Rf /mnt*rm: cannot remove `/mnt': No such device or address-------------------------------------------------------------------------------
 
Old 07-26-2010, 07:58 AM
Andrei Popescu
 
Default Error during safe-upgrade: unable to stat `./mnt'

On Lu, 26 iul 10, 09:53:21, Aniruddha wrote:
> Some more information:
>
> Al other folders have normal permissions, /mnt on the other hand has:
> ----------------------------------------------------------------------------------
> # ls -la /
> d????????? ? ? ? ? ? mnt
> -------------------------------------------------------------------------------
>
> -------------------------------------------------------------------------------
> # mv /mnt ~
> mv: cannot stat `/mnt': No such device or address
> -------------------------------------------------------------------------------
>
> -------------------------------------------------------------------------------
> # rm -Rf /mnt
> rm: cannot remove `/mnt': No such device or address
> -------------------------------------------------------------------------------

You should run a fsck on your filesystems.

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 
Old 07-26-2010, 09:04 AM
"Boyd Stephen Smith Jr."
 
Default Error during safe-upgrade: unable to stat `./mnt'

On Monday 26 July 2010 02:37:56 Aniruddha wrote:
> ------------------------------------------------------------------------
> dpkg: error processing
> /var/cache/apt/archives/base-files_5lenny6_amd64.deb (--unpack):
> unable to stat `./mnt' (which I was about to install): No such device
> or address
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
> # ls /mnt
> ls: cannot access /mnt: No such device or address
> # cd /mnt
> # pwd
> /mnt
> # ls
> ls: cannot open directory .: No such device or address
> --------------------------------------------------------------------------
>
> From the syslog
>
> -----------------------------------------------------------------------
> Jul 25 17:02:47 server kernel: [4684955.154845] ide-cd: cmd 0x3 timed out
> Jul 25 17:02:47 server kernel: [4684955.154884] hda: lost interrupt
> Jul 25 17:03:47 server kernel: [4685015.281517] hda: lost interrupt
> Jul 25 17:04:47 server kernel: [4685075.638334] ide-cd: cmd 0x3 timed out
> Jul 25 17:04:47 server kernel: [4685075.638334] hda: lost interrupt
> Jul 25 17:05:47 server kernel: [4685135.767911] ide-cd: cmd 0x3 timed out
> Jul 25 17:05:47 server kernel: [4685135.767950] hda: lost interrupt
> ----------------------------------------------------------------------

Maybe something mounted your optical media on /mnt, and the disk / drive is no
longer available but the filesystem is still mounted.

umount -f and umount -l could help here.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
 

Thread Tools




All times are GMT. The time now is 07:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org