Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CAn't empty trash
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Tue Aug 28, 2007 2:20 am    Post subject: CAn't empty trash Reply with quote

In a KDE desktop window I get :

Code:
The file or folder /backup/.Trash-1000/files/Xpcoma.tmp.44 does not exist.


Whenever I try to empty the trash.

How can I fix this?
Thanks for any help.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue Aug 28, 2007 2:27 am    Post subject: Reply with quote

Can you post emerge --info...this is weird my friend.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Tue Aug 28, 2007 5:36 am    Post subject: Reply with quote

try rm'ing that manually in root.

If that doesn't work, try doing a fsck from a livecd such as knoppix.

Truly weird problem.

poly-p man
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Tue Aug 28, 2007 9:20 pm    Post subject: Reply with quote

Code:

wbrokow1 mythtv # emerge --info
Portage 2.1.2.12 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.5-r4, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 28 Aug 2007 21:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa apache2 asf avi berkdb bitmap-fonts browserplugin cairo cdparanoia cdr cli cracklib crypt cscope cups dba dbus divx4linux dlloader dri dv dvd dvdr dvdread eds emboss encode esd evo fam fame ffmpeg firefox flac foomaticdb fortran gd gif gphoto2 gpm gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imlib innodb ipv6 isdnlog java javascript joystick jpeg kde kdeenablefinal kerberos lirc mad matroska midi mikmod mime mmx mp3 mpeg mudflap mysql nas ncurses net nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp oss pam pcre pda pdf pdflib perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session shared sound spell spl sse ssl subtitles svg tcpd theora threadsafe tiff transcode truetype truetype-fonts type1-fonts unicode usb v4l2 vcd videos vorbis win32codecs x86 xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Fri Aug 31, 2007 12:41 pm    Post subject: Reply with quote

To: poly p man

Please be more specific.
Do you mean remove everything in that directory? Manually?

Also, fsck ?

Thanks
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Sat Sep 01, 2007 12:51 am    Post subject: Reply with quote

wbrokow1 wrote:
To: poly p man

Please be more specific.
Do you mean remove everything in that directory? Manually?

Or just use rm -rd
wbrokow1 wrote:

Also, fsck ?


The problem _could_ be filesystem-based. Make sure it's not mounted!

poly-p man
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Sat Sep 01, 2007 3:24 pm    Post subject: Reply with quote

I was not able to rm the trash, it said it did not exist.
I fsck'd the drives booting from a Knoppix disk.
It fixed quite a few things but the trash error remains.
Any other help would be appreciated.
Thanks,
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Mon Nov 12, 2007 5:25 pm    Post subject: Reply with quote

Still can't empty that trash!
Any other suggestions?
Thanks
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Mon Nov 12, 2007 6:33 pm    Post subject: Reply with quote

What do you normally have mounted at /backup and is it mounted now? You may have deleted (to Trash, in KDE) the file /backup/files/Xpcoma.tmp.44 and are now trying to empty the trash with that filesystem not mounted. KDE's Trash metadata would have references to the trash contents on the unmounted filesystem. If this is the case, remounting the volume that has those missing files should let you empty the trash.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
Logan11
n00b
n00b


Joined: 07 Mar 2007
Posts: 13
Location: X-Labs

PostPosted: Sat Jan 23, 2010 10:17 pm    Post subject: [SOLVED] Found the solution. Reply with quote

A have this problem too on my KDE 4.3.4.

Quick solution:
1- Go to the Trash folder and create a file with the exact name of the one in the message.
E.g. in your case:
Code:
touch /backup/.Trash-1000/files/Xpcoma.tmp.44


2- Now try emptying the Trash Can.

Voila. No more error message. :wink: :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum