Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HowTo Build a Package from Source the Smart Way

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
kloszard
Posts: 8
Joined: 2012-03-06 19:47

Re: HowTo Build a Package from Source the Smart Way

#91 Post by kloszard »

A lot of thanks for your great advice!

I gave up of qmmp and /usr/local and I ve just succeed to install two versions of htop under the control of debian's package manager. There are two htops visible under synaptic: htop(1.0.1) and htop2 (1.0.3 which comes from sid)

You were right. It required to make changes like (htop -> htop2) in makefile.in and makefile.am in places where names of binaries, icons, and man pages were present.

Next I will try to do the same with qmmp.
Cheers!

casper :)
Posts: 35
Joined: 2022-03-16 02:36
Has thanked: 4 times
Been thanked: 2 times

Re: HowTo Build a Package from Source the Smart Way

#92 Post by casper :) »

hello, trying to install the backintime package i built, this is the error i get...

Code: Select all

casper@hp:~/mybuild$ sudo dpkg -i backintime-common_1.2.1-3_all.deb 
(Reading database ... 183949 files and directories currently installed.)
Preparing to unpack backintime-common_1.2.1-3_all.deb ...
Unpacking backintime-common (1.2.1-3) over (1.2.1-3) ...
dpkg: dependency problems prevent configuration of backintime-common:
 backintime-common depends on python3-keyring; however:
  Package python3-keyring is not installed.

dpkg: error processing package backintime-common (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
 backintime-common
it's not reading the whole package, just the first part. idk if i did something wrong. thanks!'

edit: okay totally missed the part where it said python3-keyring is needed, i installed that and now backintime works. whew.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: HowTo Build a Package from Source the Smart Way

#93 Post by sunrat »

You can use apt instead of dpkg to install local .debs . It will download and install dependencies. From the directory containing the local .deb :

Code: Select all

apt install ./packagename
Not sure why you would build it when the same version is available in the repo anyway - https://packages.debian.org/search?keywords=backintime
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

casper :)
Posts: 35
Joined: 2022-03-16 02:36
Has thanked: 4 times
Been thanked: 2 times

Re: HowTo Build a Package from Source the Smart Way

#94 Post by casper :) »

thank you, that was simply to test building and installing a .deb file, something i've never done but someday will probably have to do. just a little test trial and error ^^

Post Reply