Debian :: Certain Programs Like Apt Refuse To Recognize Symlinks
Jul 6, 2015
This system was first installed on a 120Gb dual booted hard drive with Debian split with XP. It grew into a development system spanning 3 drives and 360Gb.
The addition drives were NOT mounted under the standard unix conventions, such as sdb being /usr and sdc being /home. They are mounted as /drive1, /drive2. All ext4 (except for the /dev/sda1 XP partition).
For example opt is symlinked to /drive1/opt
Firefox is at /drive1/opt/firefox.
So far so good, and with 20,000 packages installed, the system does work. With however, some caveats.
Certain programs like apt, refuse to recognize symlinks. I cannot move its /archives to the other drives. Some other stuff seem equally recalcitrant. Especially stuff from the lower init levels (that is understandable as they are running before the mounting process).
But others are unexpectedly recalcitrant.
Is there any way to *force* systemwide respect for symlinks?
Reducing size of XP is a non-starter here...
View 7 Replies
ADVERTISEMENT
Feb 3, 2010
I've just did a fresh install of Xubuntu 9.10 x86 in a 4 gig pendrive.Just one ext4 partition for / and /home and a swap partition. Only one user created during installation.Everything's fine so far except for two things:-If I launch synaptic from the start menu, it asks for my password which I type in or even copy-paste to be sure.Strangely it always comes back saying incorrect password. If I open a terminal and call "sudo synaptic" and type in my password when prompted, the application shows up fine. Again if I do the same via the Run dialog (alt+F2), that is "sudo synaptic", nothing comes up. If I just type "synaptic", a pop up says that as a user I won't be able to install anything and blah-blah, and the application displays properly
View 4 Replies
View Related
Jan 4, 2010
I recently bought a new laptop (Clevo W760CU) and I've tried several times running 64 bits distros on it. Both Ubuntu 9.10 and Fedora 12 live cd's simply won't boot into X. They both seem to freeze at the very ending of the loading process. 32-bit releases of both work fine. Using the alternate install CD I managed to install 9.10 but when I try to boot it freezes immediately after the cursor appears (which I assume is equivalent to where the live cd's freeze). If I try recovery mode I can see the following error:
[ time ] BUG: soft lockup - CPU#4 stuck for 61s! [some program]
Where and which program it is varies. I've managed to install Archlinux and Windows 7 fine, both 64-bits. I haven't been able to update Arch yet because it wont't find my network card, as with Fedora 11 and 9.04 both of which install perfectly fine). It seems the kernels released in October or later cause my problems How can I fix this? I really want to be running 9.10 64 bit because I have 4 GB of RAM.
View 8 Replies
View Related
Sep 5, 2010
I get something like:
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.10 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2008 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2010-06-30 18:13)
(*) Direct/Memcpy: Using Generic 64bit memcpy()
[Code].....
when I launch (i.e.):
$ links2 -driver directfb
It's a brand new thing for me, maybe I'm misunderstanding some basic concepts.
View 1 Replies
View Related
Sep 1, 2011
Two video files on my external hard disk refuse to be deleted, renamed or moved. They keep giving the following error message
Error removing file: No such file or directory
or
Error renaming file: Input/output error
View 9 Replies
View Related
Jan 4, 2010
i've written a socket server. when i launch a client, it connects to servers running on various machines on my local network, which then reply to the client with some string messages, and the client exits.
however, when i launch the client repeatedly (say 5 or 6 times in quick succession) the client is unable to bind to its local port. this appears to be because servers are still trying to connect to the client machine's port, even though the client exited and shut the socket down. the actual error i receive is "Error binding socket to 192.168.1.6:44561: Address already in use".
so, is it enough just to shutdown and close a socket? is there some way that in doing so the client machine can send a CONNECTION_REFUSED message to any machine trying to connect to it? i am using PHP, not that that should make much of a difference i hope.
the problem resolves itself after around 20 seconds as the machines trying to connect to the client timeout. i still need to fix this issue though.
View 2 Replies
View Related
Apr 28, 2011
[11.04 64 bit amd tx2500]
It seems ububtu is going backwards on driver support,
in 10.04 the driver support of my HP tx2500 was flawless,
and now the wired and wifi connections won't work:
ubunu does no recognize there is any wifi adapter, and the wired connection tries to connect and fails.
I installed the latest driver from realtek manually and no change.
View 5 Replies
View Related
Feb 18, 2010
I am runnung ubuntu 9.10 desktop edition as a server. I am using a FTP client program to upload some files(index.html, background.png, etc) and everything is fine with that. And currently all my files are in /home/myname/ folder. What I want is whenever I log in with my ubuntu account in the FTP client program, I can actually see the list or contents of the very root directory.
In other word, I can see every folder like /bin, /boot, /etc, /root, so on in the FTP software and I can download it. I don't want to allow to access the parent(or root) directory. Is there any possible way to set up the sutff?
View 2 Replies
View Related
Aug 3, 2010
I'm using Slackware 13.0 on rather old PC with old Riva TNT2 video card. Default driver is "nv". Everything work fine, but without hardware 2D acceleration under X.
After studying various manuals I
1. downloaded Nvidia binary package suitable for my video card.
2. Recompile kernel without Riva framebuffer support.
3. Start Nvidia script.
Script said: "Error: unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured...""
Kernel sources are in /usr/src/linux-2.6.29.6 I have all kernel packages installed. I was trying various switches for script in order to show the right path - nothing! 8 Some people say that Nvidia script don't like 4th digit in a kernel's name and get it from "uname -r" output. Can I change it somehow?
View 14 Replies
View Related
Jan 6, 2010
i run ubuntu 9.10 64-bit, using firefox 3.5.6 (courtesy of ubuntuzilla) as my web browser. i've had a problem with some flash and/or shockwave objects simply refusing to work inside firefox, despite having 64-bit flash player and all necessary plugins/addons/extras etc. installed.
there is no pattern to the problems, other than all of them being flash or shockwave objects that won't play. the majority of videos videos do play, including hd ones. however, this morning i encountered a pair of videos clips that simply would not play. i could load the page they were on, but all i ever saw was a black box, with no audio, where the video should have been.
i also noticed that on some of the videos that do play, the flash player's built-in volume control does nothing. i can slide it up or down or mute it entirely, but the sound from the flash video is unaffected.
i'll post urls of the problem videos later, so others can try them.
meanwhile i was able to watch other videos videos without issue, on another tab, aside from the broken flash player volume control.
i've also had a problem with the [url] player for a radio station, which i believe uses shockwave. i like to listen to atlanta, ga's wsb 750 am radio in the mornings before work, but so far i have to do it on a virtual windows xp machine running firefox 3.5.6, under virtualbox. if i try to open the player in firefox 3.5.6 running in the host os (ubuntu 9.10), i get only a blank popup window. url is [url]; click the "listen live" box at upper left to try it.
both machines, the host ubuntu 9.10 install and the guest windows xp machine, use exactly the same ad-blocking hosts file. i use the noscript addon in the host os install of firefox, but i allow any and all scripts when visiting the radio station's website.
since the streaming radio works on the virtual xp machine, i'm pretty sure my network configuration, hosts file etc. have nothing to do with this.
has anyone else had this problem? the flash content really should be agnostic with respect to the host os and browser, shouldn't it?
i guess it could be some random problem with the 64-bit vs. the 32-bit version of the flash plugin, so i may try instaling 32-bit ubuntu on a virtual machine to find out whether there's a difference.
View 8 Replies
View Related
Dec 4, 2010
How to best manage partitioning when install programs not from debian repositories?I just discovered that Debian installs applications not from repositories to /opt and /lib. Both directories or folders reside in root (/) partition.Having made my root (/) partition (which is only around 500MB) -- more than sufficient for holding a couple of linux images but NOT good for holding application.What is the best solution for resolving this? It's annoying and worrying that my system always reminds of a close to full capacity root partition.
View 7 Replies
View Related
Nov 1, 2015
I recently installed Debian using the net install file through USB on my Lenovo z510 laptop. It did not recognize my internet so I continued my installation without it and ended up with a bare bones command prompt version of Debian. So to uninstall it I just deleted the partition and took up the space with Windows 10. So now when I boot into the boot list(uefi) I still see Debian listed, and when I boot into it I see grub-rescue command prompt. Now I downloaded the live Debian ISO and used pendrivelinux to put it on. When I look in my boot list the USB does not appear and USB booting is on + Secure boot is off. What should I do to fix this mess? In the end I want Debian dual-booted with windows 10 with Debian being with the GNOME 3.x desktop environment.
View 2 Replies
View Related
Aug 2, 2010
Recently we bought a server machine in purpose of hosting game servers.Debian is the optimal choice for us but we have a huge problem.We have 2 x HDD Fujitsu MBA3300RC, 300GB, 15000rpm, 16MB [MBA3300RC] , but NO SAS-controller , so standard Debian DVD1 didn't recognized our HDD's during installation.Is there any way to install Debian on our machine without haveing to buy a SAS-controller? answer in "step-by-step" method, i am not very experimentated in linux.
View 2 Replies
View Related
May 26, 2010
I just got a new server dedicated running php5 and SUExec. I understand the concept. INstead of running as "nobody", PHP scripts run as the user of that website. This also means I don't have to have some special directory where I set permissions to 775 or 770 with group=nobody etc just to upload files via PHP .. since PHP will upload files just as the user would using FTP. OK, great so far, and more security, I'm all for it.
View 1 Replies
View Related
Oct 18, 2010
Not sure what else to call it. My softlinks are not updating to reflect the parent/linked folder-files.
Code:
ln -s /folder/* /home/user/Music
This produces what I want. However, if I make any changes to /folder/, I dont see a reflected change in the links at /home/usr/Music.
A added plus would be to be able to use folder/file thumbnails from the source directory on the symlinks. Are sym links just shortcuts or are they real links to the directory (dynamic).
View 2 Replies
View Related
Aug 22, 2015
I've been trying with this for a long time and I can't get it to work. Jack and aconnect doesn't see my keyboard. There is nothing in both of them. Yet, my computer does see it.
amidi -l
Dir Device Name
IO hw:2,0,0 Portable G MIDI 1
lsusb
Bus 008 Device 002: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102/2.0 / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 046d:c313 Logitech, Inc. Internet 350 Keyboard
[Code] ....
View 1 Replies
View Related
Jan 11, 2011
How do i get debian to recognize my wireless card? i have one built right into my laptop
after some messing around on the terminal i believe it is a code...
View 12 Replies
View Related
Jan 27, 2010
I am trying to write data to dvd with brasero. But it does not recognize the dvd-rw as such. Seems to think it's a cdrom.
View 1 Replies
View Related
Mar 10, 2010
I have a directory full of symlinks. I want to zip them as if there were the real files. If I just zip them as usual, the resulting zip file does not contain the files at all! Is there any way to do this?
View 3 Replies
View Related
Aug 11, 2011
I'm wondering if there is a safe and reliable way of converting symlinks to directories to hardlinks? Basically I have a bunch of files in a directory tree under directory A, and I have in another directory B a set of symlinks to the original site. I would like all the files to end up in B and A to be empty. The links are all to directories, not to files, so the soft2hard script here won't work.
I don't have enough free diskspace to copy the files from A to B so I thought that converting the softlinks to hard links and then removing directory A would work? There are many directories, so would like to do it automatically if at all possible.
(In case anyone is intrigued, the issue is with my maildir directory. I used to use kmail, but with the move to kmail2 it became buggy and virtually unusable with large amounts of mail and I had to find another solution. I now use dovecot with gnus and mutt as MUA to access the maildirs. kmails maildirs are non-standard (!), so with the help of a script I found online, I created ~/dovecot and in it put symlinks to all the maldirs under ~/.kde/share/apps/kmail. The problem with this is if I accidentally start kmail it will try to access that directory and mess up all my tags, so I want to completely move all my mail from ~/.kde/share/apps/kmail to ~/dovecot, but without messing up all my tags etc.)
View 7 Replies
View Related
Aug 19, 2011
When I access my OpenSUSE box's samba shares from another PC I am able to browse them, but am not able to follow symlinks.I've had the problem before on Ubuntu and fixed it by adding the following lines to my /etc/samba/smb.conf
unix extensions = No
wide links = Yes
follow symlinks = Yes
I've added them into my OpenSUSE smb.conf (below) but still no joy.
View 1 Replies
View Related
Feb 8, 2010
I have the following share setup on my Ubuntu machine
# From /etc/fstab
//192.168.1.13/media /home/USER/SHARE/media cifs username=USERNAME,password=PASSWORD,_netdev,uid=USER,gid=users 0 0
[code]....
View 1 Replies
View Related
Mar 2, 2010
I recently tried the package "pysdm" to mount a data partition but didn't care for the way it handled things so I opted for editing fstab which I'm much more satisfied with.I did then purge pysdem and it's config files but something lingered, finally I got things working by using a UUID designation in fstab but I know there's an old symlink to a /dev/sdb7 that has since been deleted and later recreated with a new UUID.
I have "googled" enough to find that the package "fslint" should be able to handle this but since one gui got me in trouble I'm reluctant to use another, I'd prefer just being able to find where symlinks live and ripping them out by the short hairs
View 2 Replies
View Related
Mar 29, 2010
What is the syntax if you want to create a symlink to a resource on a mounted drive? am I missing something?
View 2 Replies
View Related
Sep 9, 2010
Not sure this is appropriate here but wondering if one has advantage over other in terms of sharability?
Also is it possible to upload files through symlinks? ie put a simlink to a tar ball located elsewhere on filesystem than ubuntu one/dropbox folder.
View 6 Replies
View Related
Dec 17, 2010
shed some light on what the behavior would be if I symlinked a non-encrypted directory (lets call it /media/sdcard/foo) into an encrypted home directory (lets say home/documents/sdcard-docs)Would files written to that symlinked directory be encryptedgarbled, or would they be normal? would files that were attempted to be read be interpreted as encrypted, or would they be read properly?
View 1 Replies
View Related
Apr 12, 2011
I did a "backup" of my .wine folder by copying it to my network attached storage drive. Now, that folder thinks it has about 200gb of data! Specifically, it's the .wine/dosdevices folder. I didn't grasp that Wine had created some kind of hard links to my ~ folder on my Ubuntu box. Since that folder is clearly recursively linking to all my files, I'm afraid to just delete it. I did delete one file within it as a test and, sure enough, the original file back on my Ubuntu box disappeared!how can I delete the .wine "backup" folder I created on my NAS without deleting all the original files?
View 5 Replies
View Related
Mar 23, 2010
I'm hosting some sites on a dedicated server. All these sites make use of the same codebase (couple of directories with php and javascript files). Because I want to manage this codebase on only one location, I was trying to share it via symlinks. When looking at commandline, everything seemed to work fine. However, when browsing to the sites that use the codebase, problems occur. It seems as if php cannot find the files.
View 3 Replies
View Related
Oct 15, 2010
I tried to run one grep that excludes symlinks and pipe it into a second that searches for my pattern but I continue to get the recursive directory loop error. As a result (I think) my grep is incomplete as the search just loops between directories symlinked together.
View 7 Replies
View Related
Feb 24, 2011
I am trying to do an rsync that includes a symlink in a folder. I only want the symlink to change on the destination if the mod time of the symlink on the source is newer. The behavior i am seeing is that the symlink on the destination is always updated to match the source regardless of the mod time.
View 2 Replies
View Related