General :: Installing Only Some Of The Files From A Package?
Mar 13, 2011
OS: Debian testing Is it possible to instruct apt-get to install only some of the files in a package?.Here is the specific problem I'm facing: I have installed latex using the latex installer from CTAN. Now I'd like to install lyx but when apt-get install lyx reports it will install all the deb latex packages (it seems to be unaware latex is already installed). can I instruct apt-get to install only the lyx files with the extra 300MB or so of latex?.
I use RHEL 3 , but do not have installed the package for rcp , so now can not receive file via rcp , can advise what package that I need to install for using rcp ?
I was using a 3g iPod nano which was supported by my flavor of Ubuntu . However, recently I have acquired a 4g iPod Touch and to my dismay, it is not supported on my OS. After doing some research, I discovered that Ubuntu 10.04 Lucid Lynx supports all the newer generation Apple products, including my 4g iPod Touch. Is there anyway I can install this package without reformatting my computer COMPLETELY over again? Are there any easier ways to be able to sync my ipod with my computer?
I have a problem when installing this package through synaptic package manager. this is :
libpng12-dev the error is: W: Failed to fetch http://security.ubuntu.com/ubuntu/po...tu2.1_i386.deb 404 Not Found [IP: 91.189.92.167 80] my distribution is ubuntu 10.4.
I am using ubuntu for a month. Yesterday i tried to upgrade it from 9.10 to 10.0. Then i had to shut down the pc for electricity failure. After that ubuntu came into halt in boot time and something like recovery shell came. It advised me to use "fsck" and i did that. All were again fine (Except some icon goes from left to right ). Then today i was trying to install "Virtuabox" and it says i need to remove "devicekit-power" package. i did it with synaptic package manager ( with my newbie wisdom , didn't knew it would crample my system ). Then the Empathy gone, shut down button gone ). I then installed some lost package
but ubuntu-desktop package is not installing. Whenever i try it says to fix broken package and i tried the option in synaptic, but no luck. also tried in recovery mode to fix broken package but it says the same. now i got the empathy and the green sign back ( after installing those 3 package ) but not like it was ( they are now separated , and uglier ). Same problem installing devicekit-power package. it says it is not in repository.
1. Did the 10.0 failure upgrade was behind this thing?
2. Any help installing Virtuabox? it first installs fine ( downloaded deb package ). then it tries to download some extra packages and always fails to download them. tried in command shell as instructed in its website and also treid in ubuntu soft centre but no luck.
3. Is there any way i can install the missing ubuntu-desktop and devicekit thing?
4. Would be very glad if someone tell me about a linux soft that protect my system from my wild exploration and destruction
I have Ubuntu 9.10 installed on my laptop.And I am going to install mediaplayer from its "*.deb" file, But it requires a lot of other packages and each of those packages needs others and so on.Since I do not have internet connection on my Ubuntu and my internet connection is in Win XP, so I should download these packages and then check them in my Ubuntu and see what other packages it needs and download them and so on.
It is a very time consuming task. If I could find out what are all the required packages I could download all of them at once and then I could install them by "sudo dpkg -i *".Therefore I am wondering if there is a way to know which packages are the required ones for a typical package, my work would be much more easier.
Where is the best path to install all files of package when compiling?
For example - I want to install ProFTPd, so there's an option
--prefix=/usr/local/proftpd
, which means, that all files after compilation (including binary and configuration files) will be stored here. As you know, all packages, which are installed via package system (like zypper on SuSE or apt on Ubuntu) usually stores its configuration files in /etc/ and binary files in /sbin/ and also stores a link in my $PATH, so i can run in just by typing proftpd (without /sbin).
The huge advantage of packages installed via package system, i think, is easy uninstall process. I'd like to be able to uninstall compiled packages also easy.
I think i could be able to create some batch file, which I'll be able to use like this:
uninstall --package=proftpd
And my script will find all proftpd files in usuall paths (/etc, /sbin) and remove it using rm.
Is there any best practices, where to store all these files, or are there any (dis)advantages of my first example (--prefix=/usr/local/proftpd)?
I really don't think, that it's nice to have 2 paths with configuration files and binary files, but maybe I'm misunderstanding the basic principals of Linux... :-)
I noticed something a little odd I'm hoping someone can enlighten me on. I noticed in a couple of cases that a package has the proper version, but differs in two regards.
1. The package ends up with a .el4 on the end of the version for Red Hat 4.
2. The actual MD5Sum of the files the package provides differ.
An example below:
Code:
[root@RH4ES32-MCE bin]# for i in `rpm -ql GConf2`;do md5sum $i;done; md5sum: /etc/gconf/2: Is a directory 9f90335546f7c57ae6fb552cc2b919c5 /etc/gconf/2/path md5sum: /etc/gconf/gconf.xml.defaults: Is a directory
[code].....
So my package changed slightly to now show .el4 versus just 2-2.8.1-1 I've indicated in the first output above that the first couple of lines differ. I stopped my comparison at that point as they truly are different.
I have tried to install CentOS about twenty times. Each time it hangs up at package download. I says that file rsh-o,17-40.e15.i386.rpm cannot be oppened Due to a missing file or corrupt package or corrept nedia.
I own a motorcycle which has a power commander unit installed. Basicaly its a computer interface unit that allows us to install/load up air/fuel ratio's (maps) and do fine tuning via a laptop or computer.
So, now that I have made the move to Linux, I need to look into making the software program function with Linux. I am assuming that the software is designed for Windows, and probably a version for Mac as well.
Is there a way I can get the program modified to run within the Linux/Ubuntu OS?? The initial error I get when I attempt to install the program is ;
Archive: /home/gchalifoux/Downloads/pciisoft2000.exe [/home/gchalifoux/Downloads/pciisoft2000.exe] End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the
I've tried googling for an answer to my probably extremely easy question, but since I'm a complete beginner I just do not understand whatever I find.Same goes for the whole linux wiki. After many frustrations with Windows I've been trying unsuccessfully to get any version of Linux to try out. However, I always get stuck at the same point: downloading the version works fine, but then getting it to work! Then I get frustrated with Linux for being too complex for the quite computer savvy in Windows, but not a programmer, person. And I returned to Windows. Repeat every 2 months.
So now I am here, please do not start talking to me as if I understand words like kernel - that's where I get stuck.What have I done:
- working in Win7 (illegal version, since I have a netbook and legal downloads are not available in the NL yet) - found and downloaded the 2 puppylinux files named lupu-500 and lupu_devx_500 - used Virtual Clonedrive to mount both files; looks like I have drive F: being recognized as a dvd-rom drive and drive G: named BD-rom drive. - I double click either one to open and I get: "Windows can't access this disk, etc." for F: or for G: "Please insert a disk, etc"
I know this is a long post, but please help me or you're losing me to Microsoft again!
I am trying to install a program called PQLII (seismology related). I'm running Red Hat Linux Fedora 9. When I installed the OS, I selected "Everything". When I run: rpm -ivh PQL-2009-246.i386.rpm It returns: error: Failed dependencies: libXFixes.so.3 is needed by PQL-2009-246 libXinerama.so.1 is needed by PQL-2009-246 rtld(GNU_HASH) is needed by PQL-2009-246
OK, so I google the 3 files listed and download them which I found on [URL]. None of the filenames listed matched precisely those listed, but I downloaded files that were as near a match as possible, i.e: libXfixes-4.0.3-3.fc9.i386.rpm libXinerama-1.0.3-1.fc9.i386.rpm glibc-2.8-3.i386.rpm
Being the logical type, I first try to install libXfixes-4.0.3-3.fc9.i386.rpm since it's listed first, but it generates: error: Failed dependencies: rtld(GNU_HASH) is needed by libXfixes-4.0.3-3.fc9 Ok, so then I run: rpm -ivh glibc-2.8-3.i386.rpm which generates: error: Failed dependencies: glibc-common = 2.8-3 is needed by glibc-2.8-3
I persevere, search for and download glibc-common-2.8-3.i386.rpm. rpm -ivh glibc-common-2.8-3.i386.rpm generates: error: Failed dependencies: glibc = 2.8-3 is needed by glibc-common-2.8-3 tzdata >= 2003a is needed by glibc-common-2.8-3 Am I downloading the wrong files?
I just installed Ubuntu 10.04 from the LiveCD--smooth install, OS looks great-elegant.Now, since I have to use dial-up, I need to install additional files from the LiveCD that aren't installed by default:
How do I get these files from the CD, and make them run on the Ubuntu installation? I've checked in the UI, and see various terms I don't yet understand. Do I extract the packages? Or do I open a pgm in Ubuntu, in which I specify the path to the files on the CD?
I'm going to use an external USRobotics 5637 USB modem that is supposed to work in Linux; just need to configure Ubuntu for this. I have the ISP DNS server numbers and modem is ready. I've seen online info, but I'm stuck at this very basic step.
I'm trying to make sure all my windows files stay put, so i'm wondering how to go about installing SLED 10. I can't log onto windows due to a virus infection, so i'm trying to install SLED10 and get all my files from there. I wanna be able to use windows as well as linux as well.
Until some time ago I had a dual Windows 7 and Fedora operating system, then I completely moved to Fedora. Recently I have become interested in Scientific Linux and wanted to install it besides my Fedora. I took a back up of all my data and formatted my HDD for a clean install of both of them. This is what I did:
First I installed Scientific Linux with these partitions (contents of /etc/fstab):
[Code]...
Then I went on to install Fedora 15; I kept the same primary and extended partitions but only changed the names of "/FedoraRoot" to "/" and "/" to "/SLRoot" in the above list while installing Fedora. I also chose the boot directory of Fedora to be /dev/sda1/ which I wanted to be the /boot file for both systems while I had chosen the boot file for Scientific Linux to be "/dev/sda".
Everything went well until the final step of copying the files an error came that some of files that Fedora wanted to install in /usr/share, /usr/lib64, /usr/bin, /etc/system..., /etc/issue..., /etc/redhat-release... and /etc/rpm are already present in the Scientific Linux format and so there is a conflict and it has to terminate!!! I must have made some strange mistakes in the definitions
I'm trying to use convert, I have installed the imagemagick. I use this line:convert *.jpg test.pdf but I'm only able to convert to pdf 1 single jpg file, not multiple files at once. When there's more than one file, I get the following error: Segmentation fault
I'm experiencing a strange behavior from apt on my Debian 4 etch installation.
Sometime ago I installed XMailServer on it, and so far so good, it is working quite fine and no issue at all here. However since this installation apt got crazy and now each time I install something else it goes and installs xmail again. This creates the issue that everytime I add or remove a package xmail gets unconfigured and I've to delete spool and recreate the domains.
Sort of:
apt-get install somePackage ....regular messages if something else is needed to be downloaded... then installs xmailserver again for no reason at all giving a whole load of "file already exists" errors while rewrite xmail's config.
Already tried apt-get clean, apt-get autoclean, purge/remove -> reinstall sequence, delete the .deb package from apt's cache. But still no luck, apt insists into reinstall it everytime I want to install anything else.
I am trying to install jdk automatically using kickstart. I have added jdk-6u13-linux-i586.rpm to Server dir (where all rpms exist) and add jdk to %packages section. It always complain jdk is missing. I tried it also with another rpms which are not in the RedHat DVD and it always complatin the the package is missing.
When I use YUM to install ICAClient it ends with the following message "Package ICAClient-11.100-1.i386.rpm is not signed" (see the code below). However, when using browser (Nautilus) to start installation of the same ICAClient-11.100-1.i386.rpm it completes with success (see the image below).
This happens when installing with YUM from the CLI:
A while ago (not sure exactly when) my Synaptic Package Manager, Update Manager, Ubuntu Software Center and apt-get install have not been working. When I try to do apt-get install I get this error