Slackware :: Avoiding Redundant Installations And Pkgsrc
Jul 18, 2011
Slackware is very stable and very geek-friendly. I happen to love it... Unfortunately, I've found it unsuitable for day-to-day stuff in recent years, because it doesn't have a whole lot of software in its repos - and installing stuff from source can quickly lead you into dependency.
But pkgsrc has a vast amount of software in it, and can run on Linux. So it could be a solution, right?
The problem with pkgsrc is that the dependency resolution doesn't recognize stuff installed through standard Slackware packages. If you try to compile Gnash with it for instance, it will drag in Firefox and waste a few hours compiling that, even if you already installed Firefox through pkgtools. So with a default setup, pkgsrc is suitable for building on a very minimal Slackware system, but not for extending a preexisting Slackware desktop with Xfce and Firefox and whatever.
Is there any way of changing this, so that pkgsrc registers preinstalled binaries as providing whatever dependency? Or is that not possible? If not, is there any other system that could provide dependency resolution for compiling stuff?
View 11 Replies
ADVERTISEMENT
Apr 24, 2010
I'd like to know if there's a way to disable system suspension during mplayer playback, I'm using kde 4.4.2 by AlienBob on my slackware64-current, and powerdevil as the power manager. In powerdevil I've setup the performance profile to suspend the system after 30 minutes with no user interaction, and the presentation profile is setup not to use suspension at all, but I always forget to switch the profile before playing some long video on mplayer and the system goes down after 30 minutes of playback.
Does someone knows a way, a hidden mplayer setting (powerdevil setting would be ok too) that lets me disable suspension only when mplayer is working and nobody is using the system for more than 30 minutes??
View 2 Replies
View Related
Jun 24, 2011
I notice that these two packages contain the same files and uninstalling glibc-i18n doesn't uninstall the internationalization files, because they are also in the glibc package. Is this a mistake or is this normal or is there a reason for it ? I just made my own glibc package to fix this, but was wondering why this is the way it is...
View 7 Replies
View Related
Mar 21, 2011
I have two 500GB externals and a 200GB internal HDDs for my desktop. One of the 500s is solely for backups of my desktop, netbook, and laptop. The other 500 is pretty much my "everything" drive. Literally everything (music, movies/videos, pictures, documents, etc) get saved to this external so I can access it on all my machines. The internal 200GB on my desktop is pretty much only used for temporary downloads, the OS (obviously) and things like that.
Here's what I'd like to do:
I used deja dup to create a back up of my /home and my "everything" 500 onto the "back ups only" 500 but once I let my paranoia simmer for a second I thought, "what if my back up HDD fails?!" So I want to have two redundant backups on separate drives. First I figured I'd just chuck it on the other "everything" 500 but then I thought that since I'm using barely any room on the internal 200, I could just store a backup there. So that's my plan. My problem is that deja dup only really allows one location to run the scheduled backups.
I saw this post: [url]
and think I could just do that for the redundant backup? Or is there a program I can get from the software center that allows me to schedule more than one backup on different locations? I looked into Back in Time but that's just a snapshot(?) and I didn't see a way to do what I liked...I think.
View 4 Replies
View Related
Jan 14, 2010
As far as I can tell, the server guides only explain a bit about what dynamic routing is, but not how to implement it.
My situation is this:
We require a server with 3 interfaces. One local, one to a vsat link and the other to a fibre link. The fibre will be the default route for Internet traffic but we want dynamic routing to automatically switch to the vsat link when the fibre link goes down (which happens fairly often in Zimbabwe!) and then switch back to the fibre link when it comes back up again.
The first option would be to handle dynamic routing on a Cisco router, but at the prices of Cisco devices here, it's not the most affordable option.
View 3 Replies
View Related
Jan 28, 2011
Is it possible to for me directly RDP into my company's RDP server from my Linux OS, in same way I can RDP into it from my Windows OS on my work computer or home computer, which has the RDP setup settings you use to create the session?
Of course I can get into the work machine, and then the RDP session, but is there a way to go straight into it without using the Windows Desktop to click on RDP? Does Linux have an RDP program similar to the setup using on the Windows side, in terms of being able to configure the settings to get into an RDP directly?
View 2 Replies
View Related
May 7, 2010
[using Ubuntu 10.04 - Gnome] I know this is probably a dumb question, but after few years of not using linux i'm back to it and trying to catch up what i already forgot... i'm trying to make a shell script were when all the commands end or when i interrupt it (using ctrl+c) it wont close my terminal window.
i made a test scrip like this:
#!/bin/sh
echo hi there
and created a launcher by right clicking create launcher, selected console application, naming it and putting in the command field: sh "<path to file>/test.sh". (without sh at start it wont work)
so how can i avoid shell window closing after running/terminating the script? and is there any way i can do this by doing something like right click>add new link... i think that in kde it works like that...
View 8 Replies
View Related
Jun 27, 2010
I have two modules A and B in the kernel which i am trying to hack by introducing a variable in A which is of type 'extern' (and using EXPORT_SYMBOL) and then calling it in B. Now the problem is how to introduce that variable in module A. Currently i have made a global variable and it works fine but global variable in kernel is a bad bad thing.
I tried having an 'extern' function in A which have that variable and calling that function in module B, but then again how would module A use my variable unless the variable is available outside the scope of that function and that again means a global variable.
View 3 Replies
View Related
Jun 16, 2011
Thanks to a recommendation and extensive help at phpbuilder.com, I have a multithreaded PHP script running in the cloud which fetches images and stores them the cloud. It's fast and seems quite stable.However, I believe I'm faced with a situation where I need to introduce an additional lock to my code so I'm faced with the task of managing multiple locks while avoiding deadlock.I was wondering if anyone had experience managing multiple locks in a MT environment and could recommend specific functions and data structures. I've been reading up on resource management in MT code and understand a few things:
1) Any shared resource (global and static vars, memory, file descriptors, etc.) generally needs to be protected by some kind of mutex, lock, or other sync var.
2) There are certain necessary conditions for deadlock to occur.
3) You generally need a sequence or hierarchy of your resources so that all threads request them in the same order. This sequence must be the same and immutable for all participating threads, whether local or remote.
4) Recursion is a very common cause of deadlock, so a process should know what locks it has acquired previously in order to avoid blocking in the attempt to re-acquire those same locks again.
5) There are a variety of algorithms described such as the Banker's Algorithm, the Chandy/Misra solution, etc. to help avoid deadlock.
I'm hoping to come up with a technique for properly handling multiple locks/mutexes/sync vars that I can re-use in the future, but I'm still coming to grips with the algorithm descriptions and am unsure precisely what sorts of data structures or functions I'll need.
View 3 Replies
View Related
May 29, 2011
I have recently purchase some audio equipment and am wanting to get the most out of it. From what I've read, an OS/media player will tend to "resample" audio frequencies at the software/soundcard level before sending it, and from what I gather, that isn't a perfect 1-to-1 copy of my audio to my speaker. My equipment:
Ubuntu: 11.04 x64
Mobo (integrated sound): ASUS P5QL-CM - S/PDIF out on Intel G45 chipset / VT1708B, 8-Channel High-Definition Audio CODEC
AV receiver: Onkyo HT-R380 (PDF manual)
Speakers: Stereo (connected to 'A' ouput on AVR) - Acoustic Research Red Box II (circa early 90s)
I have the ASUS S/PDIF 'addon' and I have Ubuntu set to send audio through that. I think "bit streaming" is what I am after but I am at a loss as to how to make it happen.
View 1 Replies
View Related
Jun 5, 2011
Few days back when I tried to install java application using software manager, I got the message that my software manager has broken down. Since then I was not able to install any of the applications either through terminal or the software manager. Luckily, I got another fresh copy of Linux Mint 10(Julia) installed on my laptop. Looking for some efficient method of installing the required applications(java and its associated applications) so that I do not face such problems again in the future.
View 5 Replies
View Related
Mar 23, 2010
I am kinda stuck while providing solution for the above problem. I have achieved the fail over using keepalived but not sure how can we replicate the data from one server to other seamlessly and have them in sync with each other. My prime requirement for this project is end user should not notice the fail over and replicated copy of data should be available on the secondary as well.
View 3 Replies
View Related
Mar 1, 2011
i have multiple installations of ubuntu 10.10, and i have a windows 7 installation. i was wanting to know how to remove the other ubuntu installations that im not using?
View 1 Replies
View Related
May 21, 2010
I want to install MySQL on my Fedora 12 box but I'm not really sure what the best method to use is. I have had problems in the past with using yum, mainly the installed package was behind and/or missing pieces that I needed and it was a real pain to find and install those pieces. My problem is that I'm not totally convinced I should do an install from source, or even an rpm, as that would mean losing the yum safety net. My intentions are to have a development account on my home machine to polish up my php and java skills so I'll be installing Apache, Php and Java on this machine as well.
View 2 Replies
View Related
Jan 27, 2010
Is there a way to have grub2 managing two installations from ubuntu on the same pc ?I have two partitions, one with karmic, another with lucid. Grub is detecting automatically the two or more kernels, but assigning them to the same root partition.Is there a way to make update-grub, detecting lucid kernel, and assigning it automatically to lucid partition, and the same for karmic ?It seems, that os-prober, detects the lucid installation from karmic, and print the correct corresponding partition on the screen, but in the config file, the root partition is the wrong one, and os-prober doesn't detect karmic...
View 8 Replies
View Related
Feb 1, 2010
Is there a way to pause installations/updates? If there is not, would it be possible to implement that?It seems these days that installations through synaptic seem to take ages to download files. While downloading the files, ubuntu will not let you run any other package manager. So if I am updating my system or installing several programs through synaptic, I am unable to install anything else. For example a deb file ive downloaded, or i would like to install a single program while all these other files download.
I can understand not being able to install multiple things at once, but why is it not possible to install things while it downloads the files? Sometimes it days several hours/days to download the files.
View 2 Replies
View Related
Mar 10, 2010
I have Ubuntu 9.10 and Win7 both installed on my desktop. I use Windows for gaming (when I actually have the chance...) Anyway, for some reason update-grub is not detecting my Win7 installation, neither is os-prober. I attempted to add a custom Grub2 entry to point to Windows 7, however, when I select it from Grub, I simply get a black screen with a blinking cursor in the upper-left, after waiting 20 minutes, Windows still hadn't loaded.
Here are hopefully all the relevant files:
sudo fdisk -l
Code:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x059c059c .....
View 5 Replies
View Related
Jun 9, 2010
I've been trying to install Ubuntu 64bit on Sony Vaio CW and the Screen is 14 inch when I boot from CD it seems to work normal but after i select "Try Ubuntu without installing" or "Install Ubuntu" then the screen goes black like nothing happening but the CD runs for while then stop. Again I reboot to try again this time I press F6 then select "nomodeset" and it boots fine I was happy though, after installation success when I boot again WTF it goes black again and then I reboot and press "E" during the options that showing to select OS then I remove "Quit Splash".
I guess then I add "nomodeset" and control+X to boot, it works fine. So when I log in and of course I activate the Nvidia Graphic Driver then I reboot and WTF again the screen was out sync or something like the the screen didn't show properly. The Application menu normally is on the upper left of the screen but this time it was on the center of screen and the Shut down button came to the left side and i have to move the mouse cursor to the right and then it would appear on the left just like the resolution is to big for the screen.
View 1 Replies
View Related
Jul 20, 2010
even those "provided by Ubuntu." Instead, I receive an error window that says the source is untrusted. Details reveal only the name of the package I am trying to install. I am using Lucid Lynx on an IBM ThinkPad X41.
View 2 Replies
View Related
Aug 21, 2010
I installed normally Ubuntu in my lenovo laptop, but GRUB shows two installations instead of one. Whatever happens to one of them, happens to the other, except some command-line work.
View 4 Replies
View Related
Aug 24, 2010
I was installing a few programs when my computer froze, I rebooted, and the installations never finished. I didn't log in to ubuntu for several days, and forgot the exact programs that I was trying to install. Now when I try to open up Synaptic Package Manager, I get this error:E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report.I can't install certain programs, etc.Something is screwed up. I think it has to do with the failed installations.
View 1 Replies
View Related
Sep 24, 2010
I used to have 64 bit ubuntu, but wanted to try 32 bit to see if I can make a driver work. So, I installed it in a new partition. I'm now happy with my 32 bit installation and I want to remove the 64 bit partition to make room. My partitions atm are:
sda1 (ext4, 64 bit)
sda2
sda6 (ext4, 32 bit)
[code]....
View 9 Replies
View Related
Dec 20, 2010
Just installed Ubuntu on a Dell M1730 and working my way around the system. Biggest problem I'm struggling with is the folder structure and privileges. I've downloaded a few programs that don't come in DEB format. Consequently I'm not sure how they should be installed. As a windows user my assumption is that there would be a program files like folder but I'm not sure what the Ubuntu equivalent is. I've tried /opt/ but then I run into lots of privilege issues that can only be resolved by chmod. Can you advise which the location that programs should be installed in for manual installations and under which user (Standard or SU)?
View 2 Replies
View Related
Oct 27, 2009
I installed linux from a live disk. Now I went through all the nonsense to install and it tells me my user name and password is wrong. This crap is worse than windows. What gives? Dont tell me about well maybe you used the wrong anything proper case etc. I did that all several times to NO avail! Why I cant log on to my own computer?
View 6 Replies
View Related
Jul 29, 2011
when i install centos 5.6 on dell optiplex 990 i got black screen when anaconda start
my graphics card is Intel HD Graphics and i7 Sandy Bridge
View 4 Replies
View Related
Aug 26, 2011
I have 2 linux installations with the same username in each of them, which are on different disks.I would like to create another partiton to use it as home for both distros(the one to be at /home/debian/username and the other at /home/suse/username e.g)First, is this possible? If yes how can I do it, and how much space is enough for the other directories? More details: The first distro is on a 82GB partition, and the second on a 21GB partition on another disk. I'm planning to use all 82GB partition for the shared /home and move both distros to the other disk's partition(in fact the one, the other is already there).So, I'm thinking to resize the 82G partition, to make free space for the /home partition(which filesystem is better to use?). Then to move my user of both distros there in folders /home/debian/username - /home/suse/username. After to resize 21GB partition(how much space is enough for debian?), and on new free space to move the other distro. And finally to resize again the new /home partition to use all 82GB.
And last, this way will be easy if I want to install another distro later, to use the home partition with the same form(/home/other-distro/username? Can I define this at distro's installation procedure?
View 14 Replies
View Related
Dec 4, 2010
As the title states, I deleted my /boot folder on one of my F14 installations. I'll have to fix it later. I have F14 under VirtualBox on the same computer. I'd bet I can copy from there and be OK.
View 14 Replies
View Related
Jan 28, 2010
I have tried to install AWN for a month now, on 3 different 11.2 installations and kde and gnome, and would really like to know why I can't install it. I have tried:
- packman 1-click
- packman individual package installations
- rpm installation
and I keep getting these errors
- libawn1>=0.2.6 needed by avant-window-navigator-0.2.6-6.45.x86_64
- libpython2.5.so.1.0()(64bit) needed by libawn1-0.2.6-6.45.x86_64
and believe me I have tried to find these and have tried even similar looking things, no luck this is getting my opensuse experience down.
View 9 Replies
View Related
May 12, 2010
sharing a wine installation across the system but I haven't managed to get them to work (you'd think that this is something that would have been implemented properly a LONG time ago. Crossover has a rubbish version of it but I wanted to get it to work in Wine).Here's what I did (it works insofar as office 2003 can be used but the menu entries don't (as of yet) appear in the different users' menus):
Regular install of wine, start wine on my profile and let it build all its stuff. DO NOT INSTALL ANY PROGRAMMES YET (I did the first time and it didn't work afterwards). Create user and group "wine" with disabled password/login and no home dir. Move system.reg and drive_c to /wine and chown wine:wine, chmod 0775 (both recursively, bien sur).
Add all users to the "wine" group. Make symlinks to drive_c and system.reg in my .wine directory. Copy ~/.wine to all the other users' home directories, delete user specific registration files user.reg and userdef.reg. Chown the .wine directory for each user.
Install Office 2003 (for me at least) or whatever programmes you want (I've only tried this is Office 2003).
chown wine:wine /wine -R because your installation will have messed things up a bit.
Now cd (in Terminal, obviously) to /wine/drive_c/users. If you ls you'll see a folder called Public and a folder with your user name (mine is "gideon"). cp your home directory (recursively again) for each of your other users who you want to be able to use wine. Chown their user folders to user_name:wine (recursively - I'm going to stop writing that, just assume it). su as each user, go into their user directory and you'll see something like this (ls -al):
Code:
drwxr-xr-x 13 gideon wine 4096 2010-05-12 13:09 .
drwxr-xr-x 8 wine wine 4096 2010-05-12 13:31 ..
drwxr-xr-x 3 gideon wine 4096 2010-05-12 13:10 Application Data
[code].....
View 1 Replies
View Related
Jul 29, 2010
I switched over to Ubuntu a while ago and kept my windows installation for games. I have noticed a slight drop in FPS on all of my games ever since, could this be because of installing Ubuntu?
View 1 Replies
View Related