Slackware :: Pkgtool Not Been Created With Makepkg
Jan 22, 2010
I installed a slackware package using pkgtool.
At the end of the install process I get the following warning: WARNING: Package has not been created with 'makepkg'
It appears that the package was installed if I look at the file system. I see new files/directories from the package. But, when I try to launch the new application from /usr/bin I get this error: No such file or directory
I am a normal user "su -" to root when I did the pkgtool install and when I tried to run the application from /usr/bin.
I can see the binary in /usr/bin with a directory listing with the following permissions. -rwxr-xr-x 1 root root
I see the application as installed in the pkgtool and can un-install it.
A slacky.eu user Spina, I did notice a bug in calculating the size of the package when the directory contains a space in the name. Example:
Code: /tmp/prova dir# LANG=en installpkg abook-0.6.0pre2-i686-4cf.txz /bin/du: cannot access `/tmp/prova': No such file or directory /bin/du: cannot access `dir/abook-0.6.0pre2-i686-4cf.txz': No such file or directory Verifying package abook-0.6.0pre2-i686-4cf.txz. Installing package abook-0.6.0pre2-i686-4cf.txz:
PACKAGE DESCRIPTION: # abook # Abook is a text-based addressbook program designed to use with mutt # mail client. Abook runs on Linux, FreeBSD and some other UNIXes. # Home: [URL] # Package abook-0.6.0pre2-i686-4cf.txz installed.
This error is caused by 'readlink -f' COMPRESSED="$(/bin/du -sh $(readlink -f $package) | cut -f 1)" instead with Code: COMPRESSED="$(/bin/du -sh "$(readlink -f $package)" | cut -f 1)" it's ok
I have recently installed the Slack 13.1 x86_64 on my laptop. It works fine! But I have one trouble with it. I cannot run the installpkg and pkgtool with my normal user. It says to me that there is no command found. Is it a problem with the sudoers file or these commands are not really installed? Maybe my path is incomplete?
I installed slackware 13 to an 80gig drive on a box that also had an encrypted LVM created by Fedora. I can not seem to mount the drive from slackware even after opening the lock.
However, I cvan not boot the older fedora image due to UUID changing names. I tried to correct the UUID via a boot disk and am unable to do so. I have only read access to the 750gig fedora partition. Slackware fails mount with unknown partition type. I can see my data but not pull it off.
Want to remove programs with no explanations on how to use so used pkgtool to remove gxine, xine, and xmms. When I try to remove juK or Dragon Player, they do not show up in pkgtool list. Dragon Player will not now run from the multimedia list and JuK can't run after starting because it is missing files which were removed by pkgtool above. How do I now go about finding and removing these last two?
I'm not entirely sure how to describe this. I've got a user account set up and I've downloaded a few programs I'd like to install. When I'm in my account, I go to the terminal and type then get; $ pkgtool bash: pkgtool: command not found However, if I'm in root and do the same thing, it brings up the menu. What do I have to do to get pkgtool to work from my user account?
I was trying to install VirtualBox from AUR [URL]... it wants libpng12, which is outdated and makepkg cannot install it. Whan should I do? Here is what happens:
In light of my previous achievement in wireless networking, I've decided to create a larger issue for myself to solve. Which hopefully I can get some help with. Because my system is totally kisspoped up, for those of you who get what that means. I was trying to install GRUB via the .txz package and it created a mirrored image of the /boot folder. Which for some reason contained the / folder. Which in turn held /boot and all the other folders / is expected to contain.
Now, trying to remove the extra /boot folder proved difficult, but once I finally was able to figure it out, I remembered I could removepkg and that would probably mend the situation. However, I was already 20-something percent through moving the files to trash. Now when I checked /, /boot was gone from there. Along with various other folders. SO! Apparently the /tmp/boot folder created was in reality the /boot folder, albeit in the wrong place and having the wrong contents. Somehow, one folder existed as two different versions of itself at the same point in time. Much as a Time Lord might. Deleting one made the other vanish with it.
Good news:I removed it via Thunar and it should be in the root user's trash /home and some other folders had yet to be trashed when I hit cancel, so I can still use some things Bad news:I never ran X as root, so I don't know if it HAS a trash folder I can only use things already started up because the binaries are gone, but the configuration files in /home are still there (although /usr/bin remains)
Ideally, there would be a big UNDO button somewhere in this long row of function keys. Reasonably, there should be some kind of restoration tool. Realistically, I think I'm going to have to reinstall the system, which wasn't easy in the first place due to my faulty disc bay which detects discs at will.
I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:
I have a 500GB SATA drive in a USB enclosure that I use to backup my system.My first step was to clone the 500GB drive in my computer to the USB drive.Now I would like to use rsync to copy changes made since that cloning to the filesystem on the USB drive.But Ubuntu will not let me mount the filesystem because it has the exact same UUID as the main filesystem! I don't know how the UUIDs are created, but without a unique UUID I do not know how to do the mount.
I was able to create a new partition in my terminal using fdisk.
So basically this is just an additional partition in my currently installed linux (ubuntu). Now my problem is, how can I use that partition or how can I save files or install applications on it?
I tried creating a File system mkfs.ext3 /dev/sdb1, and I also mounted it, but when I copy files on the directory where I mounted it, it says "Permission Denied". I dont know if Im doing it correctly though.
We are having issues with LVM on CentOS 5.4 both 32bit and 64bit on one particular machine. I just can't get my head around it. Usually a device in /dev/ is created when a LVM Volume Group is created. e.g. if you add a volume group called foo, you would have /dev/foo to work with to access LVs inside the volume group.
For some reason it's not being created. The udev service is running, the volume group is created ok, I cant see anything strange in logs or strace.
I created an EC2 instance with Fedora 12 x86_64 about a month ago. I have been getting an hourly system log error:mcelog: Cannot open /dev/mem for DMI decoding: No such file or directoryI was ignoring it because I did not notice any implications, until now.I am running MongoDB on this machine, and reads from /dev/urandom are failing. I know reading from /dev/urandom shouldn't fail, so I think this system error may be the underlying problem.Are these two issues connected?If so, is there a way to fix this without having to completely reinstall the OS?
There's a folder on my Linux desktop which shouldn't exist. The first time I saw it, I thought I'd accidentally copied it from somewhere else, so I deleted it. Now it's back again. So it must have been automatically created by some process, but what can I do to figure out which program is creating it? I think it's likely that if I delete the folder it'll eventually be created again, so I should be able to catch this program in the act if anyone can suggest a technique for doing so. By the way, there are no files in this mystery folder, and its name is the same as another folder I created months ago to hold my personal documents, not something that a program would create to hold its own configuration files or the like.
is there a way i can use mv or another command to move a file to a directory that has not been created yet.Id like to be able to create the directory and move theile in one command. Can this be done? if so how
My boyfriend has an old IBM Thinkpad that he said I can use to install Ubuntu on and use it as a 2nd computer. Here's the problem, the computer doesn't have a CD drive, but does have USB. I've been trying to get a bootable USB drive created, but with no luck.
The USB drive is 2GB. Which Ubuntu would fit on here? The Thinkpad has a 20GB hard drive, and about 512MB memory. The processor I think is a Pentium III. I've even tried installing Ubuntu through the wubi.exe file, but it won't load. The current OS is a Japanese Windows 98. Do I need a bigger flash drive? The netbook remix version? or something else?
After an upgrade from 8.04 -> 10.04 my system is unable to boot. After a lot of work it seems that the blocking problem is that /dev/md0 is not being created in initramfs so the volume group containing the / file system is not being activated and therefore the boot fails at that point. In /sbin both mdadm and lmv exist and the arrays and volume groups can be created manually using them. The system can then complete booting. Updating initramfs after booting has no apparent effect.
Based on posts I have found I have tried adding raid=noautodetect and rootdelay=240 to the GRUB kernel command line separately and together with no effect, except delaying the boot. It seems that udev is not running correctly so I began digging through the udev rules but don't really understand how it actually works.In /lib/udev/rules I found;
85_mdadm.rules 85_lmv2.rules
If I were guessing (and I am) I would expect 85_lvm2 to be run before 85_mdadm, which is the wrong order. I also found 56_lvm.rules which doesn't seem to do anything. I would appreciate pointers of testing these rules to see what the problem is. It seems all of the pieces are there for this to wok correctly but there is something missing. How can I run or test a single rule? Which udevadm options test these rules,
I installed CentOS 5.2 and it was fine. Later I installed some third party applications. Is this possible to create again ISO image from this install? Or alternatively how one rpm package can be added to the CentOS iso cds.
I created a new user /etc/passwd joe:1005:0::/home/joe:/bin/bash Also added him to the group root vi /etc/group root:0:root,joe When I do su joe Gives me ERROR: NO LOGNAME
i want to know who created the user(this user was created 1yr ago).Is there any process or command to know who created the user and which date he was created
Im a new user of Linux, for my present activity, I was able to create a new partition in my terminal using fdisk.So basically this is just an additional partition in my currently installed linux (ubuntu). Now my problm is, how can I use that partition or how can I save files or install applications on it? I tried creating a File system mkfs.ext3 /dev/sdb1, and I also mounted it,but when I copy files on the directory where I mounted it, it says "Permission Denied". I dont know if Im doing it correctly though Thanks
Is there a command to list all of the users I, as an administrator have created? It is difficult to tell the users I created from those created by the system by reading /etc/passwd. I thought 'man 5 passwd' would shed some light on this but is wasn't so
I have been using a self signed certificate on my ubuntu server 10.4, using Apache.Today I bought a certificate from optimumssl. I created the csr and copied the key to the /etc/ssl/private as before. I then copied the newly supplied certificate to /etc/ssl/certs as before and changed my /etc/apache2/sites-enabled/domainname to pint to the correct certificate name.I now can't start Apache as I have this error below[error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch