Slackware :: Script To Detect Orphaned Libraries - Broken Lib Links - Missing Dependencies
Mar 9, 2010
My recent borked upgrade to -current inspired me to try to come up with a way to sanity-check the lib and bin dirs for broken library symlinks (possibly indicating missing libs) and for binaries and libraries that belong to no installed package, as well as missing dependencies.
This script is the result.
I've checked the script results manually, and it appears to be accurate, so I figured I'd post it here for a second opinion, and/or because others may find it useful too. I'm not aware of another popular method of doing this on Slackware, so here it is:
Code:
View 14 Replies
ADVERTISEMENT
Apr 2, 2011
I am trying to run algodoo from terminal after I install it, but it doesn't run. It gives this error. I have been having troubles with permissions in the /usr folder recently, so I think that is what might have caused this. Please read through it thoroughly, as algodoo is actually located in the /opt folder.
Code: jon-Tuxbox:~$ sudo '/opt/Algodoo/algodoo/algodoo'
There are missing dependencies.
Please make sure that all the required libraries are installed.
Missing:
libcxcore.so.2.1 => not found
libcv.so.2.1 => not found
libhighgui.so.2.1 => not found
jon-Tuxbox:~$
View 1 Replies
View Related
Mar 20, 2011
when I have a broken packages on the system and want to apt-get install something (completely unrelated to the broken package) apt-get starts giving me crap about the broken stuff and won't download and install the packages I'm asking for. How can I make it ignore the completely unrelated stuff about missing deps on my system and download what I want?
View 3 Replies
View Related
Feb 1, 2010
who to install mumble 1.2 on slackware 13 i can't install, missing dependencies, tx. hola alguien sabe como instalar mumble 1.2 en slackware 13? no encuentro las dependencias, gracias
View 14 Replies
View Related
Jan 6, 2010
Question about shared libraries dependancies & ldd: Lets find dependancies for /bin/echo :
$ldd /bin/echo
linux-gate.so.1 => (0xb7f70000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7e01000)
/lib/ld-linux.so.2 (0xb7f71000)
Lets focus on libc6 :
[Code]....
What is this directory /lib/i686/cmov? How does ldd to link /lib/libc.so.6 to /lib/i686/cmov/libc.so.6? Why having 2 libc6 on the system (files have different sizes, so are different)?
View 2 Replies
View Related
Sep 1, 2011
I am following [URL] to install ubuntu on my beagleboard via Ubuntu 10.10 on liveCD. When I enter this command in terminal.
"sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot beagle"
It gives me a error sayings Dependencies are missing.
"Missing pv.Your System is Missing some dependencies
Ubuntu/Debian: sudo apt-get install uboot-mkimage wget pv dosfstools btrfs-tools parted"
And when I enter the that above in terminal I get the following error.
Unable to locate PV.
View 5 Replies
View Related
May 29, 2011
Apparently I have some broken links in /usr/bin/hich causes nautilus to crash and restart. If I navigate to /usr/bin/ using gnome-commander I can see the files, as well as using terminal
View 3 Replies
View Related
Jun 8, 2011
I reinstalled Linux, in a new Partition, just formatted. Now, when I try to install, or copy, into my /usr/local/"whatever" folders I just see broken links of the files (the little x in the right top of the file, I presume is a broken link).But when I see the file in nautilus, the files seems to be good. But the programs doesn't works. The programs I've been installing are NukeX and UV Layout. The weird thing is that the very first time I installed Linux everything worked smoothly. Since I formatted the partition I've only unistalled Noveau and installed the Nvidia latest drivers of my GPU.
View 2 Replies
View Related
May 5, 2011
I was trying to install Audacious 2.5 which required new libraries:gdk-pixbuf-2.22.1
glib-2.28.6
gtk+-2.24.4
libmowgli-60e2589fc14e
pango-1.28.4
I performed the following commands to build them:
Code:
./configure
make
sudo make install
I rebooted and now my current window/icon theme is missing and gives the following error:
This theme will not look as intended because the required GTK+ theme 'eco' is not installed". If I look at synaptic, it shows it as being installed (see screenshot). How do I go about rolling back the library updates I made? I tried reinstalling the themes from synaptic but so far no luck.
View 2 Replies
View Related
Aug 27, 2015
seems like after a recent upgrade of stretch, i get a message (in italian)
Code: Select all
$ sudo apt-get install kde-full
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Alcuni pacchetti non possono essere installati. Questo può voler dire
che è stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:
[CODE]..
View 2 Replies
View Related
Dec 8, 2009
Code:
running on fedora 12 x64 and glibc-common is installed (glibc-common-2.11.4.x86_64)
Also, if im running a x64 system, why are most of the packages listed i686?
View 11 Replies
View Related
Sep 20, 2010
A couple of weeks ago, I went to run a yum update, but got this message:
Loaded plugins:
I've been running yum with --skip-broken since, but I'd like to know what package I need to get to the service level that xulrunner and firefox need. I'm running Fedora 12.
View 2 Replies
View Related
Oct 8, 2010
This has been bothering me for a while. I thought if I waited a dependency would get fixed and the update would work, but it hasn't for a while now. I have included the error when trying to update gcc and the libraries. Skip broken skips everything so no dice there.
View 1 Replies
View Related
Mar 10, 2010
I had F11 which was working OK'ish on my laptop and decided to upgrade to F12 when it was available. This was not too successful and I started getting problem with updates to the extent that I could not install any as I got errors which stopped the updates. Bit the bullet and backed up all the data then wiped the disk and started from a clean downloaded DVD of the full F12. Still getting problems running the updates (output below) and trying to install/run VirtualBox is also failing (also below). The build and source mentioned show as broken links, where do I go next?
Update errors -
Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module> main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main
backend.dispatcher(sys.argv[1:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 710, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 657, in dispatch_command
self.update_packages(only_trusted, package_ids)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1948, in update_packages
signed = self._is_package_repo_signed(pkg)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1437, in _is_package_repo_signed
repo = self.yumbase.repos.getRepo(pkg.repoid)
File : /usr/lib/python2.6/site-packages/yum/repos.py, line 121, in getRepo
'Error getting repository data for $s, repository not found' $ (repoid)
VirtualBox install log error
Error! Your kernel source for kernel 2.6.32.9-70.fc12.i686.PAE cannot be found at
/lib/modules/2.6.32.9-70.fc12.i686.PAE/build or /lib/modules/2.6.32.9-70.fc12.i686.PAE/source.
View 3 Replies
View Related
Sep 21, 2010
Is there a program, or command, that will allow me to recursively check a web site for broken links?
View 2 Replies
View Related
Aug 10, 2011
I could not get my HP printer to work. So in a not so brilliant move, I have uninstalled hplip and hptool and reinstalled it.Even tough the command line message is telling that it is installed, the HPtoolbox would not run (both from the command line or the menu).Did some digging and found that all the HP related files in /usr/bin were all labelled <broken link>.So, I deleted all these.Before I tried to reinstall again, should I worry about all the leftover hplip files?
View 1 Replies
View Related
Jul 9, 2011
Eclipse cannot start and I can see the following in the log:
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 2 0 2011-07-09 15:01:23.881
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved: .....
and etc. those files are actually in /usr/lib64/eclipse/plugins/ but system cannot find them as I see.
It happened after I played with Eclipse's software configs and broke some dependencies there. After I tried removing and reinstalingl eclipse I notices that /usr/lib64/eclipse files don't change and I have the same broken sortware install configuration. So I deleted the folder usr/lib64/eclipse and reinstalled Eclipse. It didn't work. I restored usr/lib64/eclipse from eclipse~ and now see that error log. What is the way to fix it or probably remove eclipse completely and reinstall that /usr/lib64/eclipse/ becomes as it was by default.
View 1 Replies
View Related
Jan 17, 2011
I have a fairly old debian distribution running on the linux Kernel 2.6.18-4-686 and I did something silly which has broken multiple packages. I use the manual package installation command (sudo dpkg -i filename.deb) to install a single package (gcc base) however I did this using the latest version of the package which seems to have broken my GCC package completely and I am unable to compile c++ anymore.
When I now load the Synaptic Package Manager it tells me that I have 10 broken packages and when I use the fix feature it tells me I need to update other packages to fix the depencies (it selects almost every single package on my system to be removed at this point!).
I cant change the system too much because the software packages are set up specifically to run a certain application and I don't want to change anything incase I make it stop working!
So my question is this:
If I go to the synaptic Package Manager and uninstall the broken packages (they are all gcc related), will I be able to use the aptitude command to install GCC again? If so will it automatically install the version of GCC that will work with my system? or will it try and install the latest version and then update the rest of my system?
View 1 Replies
View Related
Apr 30, 2010
I've been trying all morning to update from a working 9.10 to 10.04 and unfortunately every time I try it blocks me.
An unresolvable problem occurred while calculating the upgrade: E:Unable to correct problems, you have held broken packages.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.
Restoring original system state
I've uploaded the full apt log to pastebin here:
[URL]
View 9 Replies
View Related
Mar 12, 2011
I have a computer with 128 ko of RAM (a very old one). I installed yesterday ubuntu 8 because ubuntu 9 requires 512 ko of RAM and was very slow. Now, I have problems to update packages and to install every thing. I changed the sources.list because it seems that links are no more available according to the error messages. (I have put many adresses for ubuntu 9 because I think the kernel is the same not as the kernel for ubuntu 10). But new problems have occurred like "broken dependencies". Now I want to correct, and I don't know how? I'm still a beginner with this OS.
View 2 Replies
View Related
Apr 16, 2011
I have Ktorrent installed via the repositories and its always worked perfectly. Today I ran software update with KPackageKit and it installed updates. It told me that KTorrent had to be removed to continue and without thinking I hit ok. Now my KTorrent is gone. When I try to install it on the terminal with
Code:
sudo apt-get install ktorrent
it gives me this error.
Code:
$ sudo apt-get install ktorrent
Reading package lists... Done
Building dependency tree
Reading state information... Done
[code]...
The following packages have unmet dependencies:
ktorrent : Depends: ktorrent-data (= 4.0.3-0ubuntu1) but 4.0.5-3ubuntu1~maverick1~ppa1 is to be installed
E: Broken packages If I remove and reinstall ktorrent-data it doesn't help. build-dep doesn't help. autoremove and then trying to reinstall doesn't help. I'm not running some strange dev version of anything. I have a standard Kubuntu 10.10 amd64 installation and my KDE version is 4.6.2 from the regular repositories. I run updates (standard repositories) almost every day and have never seen anything like this before.
View 8 Replies
View Related
Jun 20, 2010
I've just tried to install amarok 1.4 with the bogdan sources, but now I've broken dependencies in Kubuntu 10.04.
When trying to sudo apt-get -f install, I got the following output:
I tried several tricks to repair the broken dependencies, but couldn't suceed.
View 4 Replies
View Related
Oct 23, 2015
I am attempting to setup an ftp server as a first project to get me going in the world of Linux however when I run the command apt-get install proftpd-basic ....
View 14 Replies
View Related
May 13, 2010
A couple of days ago, I upgraded my Kubuntu to Lucid. In this phase, the system reported that it was impossible to upgrade samba-common, and the installation aborted on 90%. Nevertheless everything is working but KPakageKit, which reports:
"There are broken dependecies on your system. Please use an advanced package manage e.g. Synaptic or aptitude to resolve this situation."
Neither "sudo aptitude safe-upgrade" nor "sudo apt-get -f install" solved the problem:
omen@darkstar:~$ sudo aptitude safe-upgrade
[..]:
samba-common
kubuntu-desktop .....
So the problem is really samba-common.
View 3 Replies
View Related
May 17, 2010
So i upgraded from 9.10 to 10.04. when i ran update manager after the install, it had some stuff for OpenOffice and during the update it hung. I powered off the laptop and turned it back on, booted into ubuntu and tried over but it didn't list the updates again.
View 8 Replies
View Related
Aug 12, 2010
I noticed that the official Slackware packages don't contain static libraries. The SlackBuild scripts from slackbuilds.org or from Slackware DVD usually contain --disable-static option to prevent building the .a file. And if configure script doesn't allow such option, the .a file is deleted before the package is created.I am wondering what is the reason for that? Is it just the matter of conserving disk space? Are there also other reasons?
View 11 Replies
View Related
Oct 19, 2009
Now i have 64 bit computer i installed Slackware 23 64 bit on it. i followed Alien Bob's multi lib how to and installed needed libraries one by one. everything is fine expect wine configure script can not find some libraries needed: libgsm, libmpg123, libopenal, libxcomposite.
I have already installed 32 bit compatibility packages and used /etc/profile.d/32bit.sh as recommended in Alien Bob's howto. configure -- does not really list anything for pointing for libraries.
View 14 Replies
View Related
Nov 6, 2009
I am trying to install gdb 7 because gdb 6.8 has been freezing quite a bit on me lately.
Code:
[doriad@davedesktop ~]$ sudo rpm -ihv gdb-7.0-3.fc12.i686.rpm
warning: gdb-7.0-3.fc12.i686.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 57bbccba
error: Failed dependencies:
libc.so.6(GLIBC_2.11) is needed by gdb-7.0-3.fc12.i686
libreadline.so.6 is needed by gdb-7.0-3.fc12.i686
It looks like the latest version of readline in F11 is 5.2 and glibc is 2.10. Is there an easy way to get these dependencies installed in Fedora 11?
View 3 Replies
View Related
Jun 23, 2009
I have a problem with yum on fedora 11. When I ran yum install mplayer/vinagre.i586/ or whatever, It always process dependancies and then at some point returns an error like
or
I tried installing different applications but yum always comes with the above errors.
This is my yum repolist
My fedora.repo file
And my yum.conf
I have tried:
View 3 Replies
View Related
Jun 28, 2010
I can't update, download packages, or even diagnose due to an elusive error.
If I try to update or check using terminal I get this:
I even tried to restart in recovery mode to check for broken packages and I got this error:
I usually find answers in the documentation but this time I'm really stumped. I am Running 64 bit Ubuntu 9.04.
View 9 Replies
View Related