I'm looking at maybe moving from an older AMD64 to a new Intel dual-core which is 32 bit. Installation isn't a problem but can I transfer all the installed apps? I haven't been
able to find anything so far on Google except where the migration is to a similar platform and file-system. I won't change the filesystem but the platform will be...
I have to port one RPM (made for Fedora) to Ubuntu as a deb package.
In the RPM .spec file I'm using several variables ($RPM_BUILD_ROOT, %{_libdir}, %{name}, %{version}) to create a symlink:
%install
...
(cd $RPM_BUILD_ROOT/%{_bindir}; ln -sf %{_libdir}/%{name}-%{version}/%{name} . )
(Relative symlinks are forbidden (please don't ask...
I have a project.init file in the debian directory (along with rules, control, etc), and I have dh_installinit in my rules file (in the binary-arch rule).
When dpkg-buildpackage completes, the init script has been copied to debian/project/etc/init.d/project, and the various pre/post scripts have been created.
However, when I actually i...
I'm trying to build a Debian package, but I've got this weird pseudo-directory problem. I run:
$ fakeroot debian/rules binary
I've built the binary before, but something must have changed on my system. Now dh_md5sums errors out and returns:
md5sum: include: Is a directory
dh_md5sums: command returned error code
make: *** [binary-arc...
Trying to build php from source on Ubuntu 9.10 to enable GD2, but when i run dpkg-buildpackage, it just quits giving me this error:
QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2
Patch suhosin.patch does not remove cleanly (refresh it or enforce with -f)
make: *** [unpatch] Error 1
dpkg-build...
I have the following debian structure:
debian/usr/share/test
debian/usr/share/test/test
debian/usr/share/test/test/a
debian/usr/share/test/test/b
After building the package using dpkg-deb --build and installing it using dpkg -i, it doesn't seem to create the folders test automatically if they don't exist. Do I need to create them man...
I am trying to get license information of uninstalled deb packages.
dpkg --info <package-name>.deb does not give that information.
Is there any command in ubuntu which will give this info?
(In rpm world rpm -qpi gives that info)
...
How can i include a license agreement interaction in a .deb file? The question http://stackoverflow.com/questions/668838/linux-support-for-click-thru-licenses only asks if its possible, but not how. Also, I'm not sure if http://stackoverflow.com/questions/1884753/license-info-of-a-deb-package is actually something one could use...
I kno...
Is there a way of getting dpkg, apt-get or aptitude to produce a list of the packages which need to be installed on a second machine to duplicate the packages installed on a first?
i.e. If I've installed a plain Ubuntu server, chose the sshd option at install time, then installed build-essential I would expect the output to look somethi...
I ran the following command successfully
dpkg -i library.deb
Where can I find where this file was installed?
...
I have an old Debian box that I used heavily over a long period of time that will no longer boot cleanly, so I pulled out a new Ubuntu Live CD to give it a second chance at life. I backed up all my files, but now I want to review what packages I had installed. Problem: It appears that the dpkg maintainers only expect a person to do this ...
I'm building a Debian package which gathers together a number of other closely tied packages by declaring them as dependencies. I want those dependencies to be exactly the same version as the package. Is there a way within the Debian build system to avoid hard coding this within the control file (aside from pre-processing the control f...
Hi!
I built and installed a debian package from the following folder structure:
myprog
DEBIAN
control
usr
local
bin
myprog.sh
... using the following commands:
dpkg -b myprog/ myprog.deb && dpkg -i myprog.deb
When i now remove the package by typing:
dpkg -r myprog
.. I got the following warning:
dpkg: warn...
Hi,
I'm developing certain scripts and small software packages which I also package as debian packages.
The code is maintained in git and I create new release tarballs with an make target and git-archive. This tarball is then fed to "uupdate -u .tar.gz" to update from the previous packaged version. This far everything works great and ...
I am attempting to build the eglibc-2.11.2 package from source. Stupidly or not, I'm trying to backport it to Debian Lenny, mainly so I can build other things that require it without having to upgrade my whole system past stable. (Whether this is a good idea is an exercise for the reader.) I am using the Debianized source from sid.
W...
I am trying to create a debian package installer and I simply need the installer to copy a folder into the user's HOME folder. I've able to get to get that far with dh_install, but the folder is owned by ROOT. Is there a way to change the owner or some other way to install it into a HOME folder?
...
I need to change a single boolean value in a property list upon installation of a package (it is dependent on a system setting that is not configurable through a GUI). How can I edit a property list with a command in a post-install script in dpkg on iPhone?
...
package A depends on package B-kmod and B-kmod has several variants. like B-kmod--{generic,pae-generic} etc. and in turn B-kmod depends on linux-image of the same flavor.
i'd like A to have depends on B-kmod-$(uname -r). how to express this in control file?
...
Hi ,
when trying to install application using apt-get, I always get
/bin/sh: /usr/sbin/dpkg-preconfigure: not found
for example:
$sudo apt-get install libssl-dev
[sudo] password for camino:
Reading package lists... Done
Building dependency tree
Reading state information... Done
....
Do you want to continue [Y/n]? y
WARNING:...