[GNC-dev] Debian files

Stephen M. Butler kg7je at arrl.net
Tue Jan 22 22:01:49 EST 2019


Looking for someone more knowledgeable than I.  Where did I go wrong?

I uninstalled my locally built gnucash (sudo make uninstall) and cleaned
the system (sudo apt autoremove) then started with these debian files:

-rw-r--r-- 1 steve steve 13140 Jan 20 20:16 gnucash_3.4_amd64.deb
-rw-r--r-- 1 steve steve 13116 Jan 20 20:16 gnucash-common_3.4_all.deb
-rw-r--r-- 1 steve steve 13016 Jan 20 20:16 python3-gnucash_3.4_amd64.deb


Note:  Lines starting with 'SMB: ' are my comments.

Note:  Lines starting with '--> ' are commands fed to the system.  Other
lines are resulting output.

---> sudo dpkg -i ./*_3.4_*.deb
Selecting previously unselected package gnucash.
(Reading database ... 232220 files and directories currently installed.)
Preparing to unpack ./gnucash_3.4_amd64.deb ...
Unpacking gnucash (1:3.4) ...
Selecting previously unselected package gnucash-common.
Preparing to unpack ./gnucash-common_3.4_all.deb ...
Unpacking gnucash-common (1:3.4) ...
Selecting previously unselected package python3-gnucash.
Preparing to unpack .../python3-gnucash_3.4_amd64.deb ...
Unpacking python3-gnucash (1:3.4) ...
dpkg: dependency problems prevent configuration of gnucash:
 gnucash depends on libfinance-quote-perl; however:
  Package libfinance-quote-perl is not installed.
 gnucash depends on libhtml-tableextract-perl; however:
  Package libhtml-tableextract-perl is not installed.
 gnucash depends on libdate-manip-perl; however:
  Package libdate-manip-perl is not installed.

dpkg: error processing package gnucash (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnucash-common:
 gnucash-common depends on libjs-jquery; however:
  Package libjs-jquery is not installed.

dpkg: error processing package gnucash-common (--install):
 dependency problems - leaving unconfigured
Setting up python3-gnucash (1:3.4) ...
Errors were encountered while processing:
 gnucash
 gnucash-common


SMB: Which corresponds to that reported by Colin.  A search indicated
that this next command should be used:

--> sudo apt-get install -f
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libclass-inspector-perl libclass-singleton-perl libcommon-sense-perl
  libdate-manip-perl libdatetime-locale-perl libdatetime-perl
  libdatetime-timezone-perl libfile-sharedir-perl libfinance-quote-perl
  libhtml-tableextract-perl libjs-jquery libjson-perl libjson-xs-perl
  libtypes-serialiser-perl
Suggested packages:
  libhtml-element-extended-perl
The following NEW packages will be installed:
  libclass-inspector-perl libclass-singleton-perl libcommon-sense-perl
  libdate-manip-perl libdatetime-locale-perl libdatetime-perl
  libdatetime-timezone-perl libfile-sharedir-perl libfinance-quote-perl
  libhtml-tableextract-perl libjs-jquery libjson-perl libjson-xs-perl
  libtypes-serialiser-perl
0 upgraded, 14 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0 B/4,100 kB of archives.
After this operation, 37.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package libjs-jquery.
(Reading database ... 232229 files and directories currently installed.)
Preparing to unpack .../00-libjs-jquery_3.2.1-1_all.deb ...
Unpacking libjs-jquery (3.2.1-1) ...
Selecting previously unselected package libhtml-tableextract-perl.
Preparing to unpack .../01-libhtml-tableextract-perl_2.15-1_all.deb ...
Unpacking libhtml-tableextract-perl (2.15-1) ...
Selecting previously unselected package libclass-inspector-perl.
Preparing to unpack .../02-libclass-inspector-perl_1.32-1_all.deb ...
Unpacking libclass-inspector-perl (1.32-1) ...
Selecting previously unselected package libfile-sharedir-perl.
Preparing to unpack .../03-libfile-sharedir-perl_1.104-1_all.deb ...
Unpacking libfile-sharedir-perl (1.104-1) ...
Selecting previously unselected package libdatetime-locale-perl.
Preparing to unpack .../04-libdatetime-locale-perl_1%3a1.17-1_all.deb ...
Unpacking libdatetime-locale-perl (1:1.17-1) ...
Selecting previously unselected package libclass-singleton-perl.
Preparing to unpack .../05-libclass-singleton-perl_1.5-1_all.deb ...
Unpacking libclass-singleton-perl (1.5-1) ...
Selecting previously unselected package libdatetime-timezone-perl.
Preparing to unpack
.../06-libdatetime-timezone-perl_1%3a2.18-1+2018d_all.deb ...
Unpacking libdatetime-timezone-perl (1:2.18-1+2018d) ...
Selecting previously unselected package libdatetime-perl.
Preparing to unpack .../07-libdatetime-perl_2%3a1.46-1_amd64.deb ...
Unpacking libdatetime-perl (2:1.46-1) ...
Selecting previously unselected package libjson-perl.
Preparing to unpack .../08-libjson-perl_2.97001-1_all.deb ...
Unpacking libjson-perl (2.97001-1) ...
Selecting previously unselected package libfinance-quote-perl.
Preparing to unpack .../09-libfinance-quote-perl_1.47-1_all.deb ...
Unpacking libfinance-quote-perl (1.47-1) ...
Selecting previously unselected package libdate-manip-perl.
Preparing to unpack .../10-libdate-manip-perl_6.60-1_all.deb ...
Unpacking libdate-manip-perl (6.60-1) ...
Selecting previously unselected package libcommon-sense-perl.
Preparing to unpack .../11-libcommon-sense-perl_3.74-2build2_amd64.deb ...
Unpacking libcommon-sense-perl (3.74-2build2) ...
Selecting previously unselected package libtypes-serialiser-perl.
Preparing to unpack .../12-libtypes-serialiser-perl_1.0-1_all.deb ...
Unpacking libtypes-serialiser-perl (1.0-1) ...
Selecting previously unselected package libjson-xs-perl.
Preparing to unpack .../13-libjson-xs-perl_3.040-1_amd64.deb ...
Unpacking libjson-xs-perl (3.040-1) ...
Setting up libhtml-tableextract-perl (2.15-1) ...
Setting up libjs-jquery (3.2.1-1) ...
Setting up libcommon-sense-perl (3.74-2build2) ...
Setting up libtypes-serialiser-perl (1.0-1) ...
Setting up libdate-manip-perl (6.60-1) ...
Setting up gnucash-common (1:3.4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libjson-perl (2.97001-1) ...
Setting up libclass-inspector-perl (1.32-1) ...
Setting up libclass-singleton-perl (1.5-1) ...
Setting up libdatetime-timezone-perl (1:2.18-1+2018d) ...
Setting up libjson-xs-perl (3.040-1) ...
Setting up libfile-sharedir-perl (1.104-1) ...
Setting up libdatetime-locale-perl (1:1.17-1) ...
Setting up libdatetime-perl (2:1.46-1) ...
Setting up libfinance-quote-perl (1.47-1) ...
Setting up gnucash (1:3.4) ...


SMB: However, an attempt to invoke gnucash fails:

--> whereis gnucash
gnucash: /etc/gnucash /usr/local/etc/gnucash /usr/local/lib/gnucash

--> gnucash

Command 'gnucash' not found, but can be installed with:

sudo apt install gnucash

--> sudo apt install gnucash
Reading package lists... Done
Building dependency tree      
Reading state information... Done
gnucash is already the newest version (1:3.4).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.


SMB: At this point I decided to remove the packages and see if my local
build would install and run

--> sudo dpkg -r gnucash
(Reading database ... 236065 files and directories currently installed.)
Removing gnucash (1:3.4) ...

--> sudo dpkg -r gnucash-common
(Reading database ... 236062 files and directories currently installed.)
Removing gnucash-common (1:3.4) ...

--> sudo dpkg -r python3-gnucash
(Reading database ... 236059 files and directories currently installed.)
Removing python3-gnucash (1:3.4) ...

--> sudo apt autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  libclass-inspector-perl libclass-singleton-perl libcommon-sense-perl
  libdate-manip-perl libdatetime-locale-perl libdatetime-perl
  libdatetime-timezone-perl libfile-sharedir-perl libfinance-quote-perl
  libhtml-tableextract-perl libjs-jquery libjson-perl libjson-xs-perl
  libtypes-serialiser-perl
0 upgraded, 0 newly installed, 14 to remove and 3 not upgraded.
After this operation, 37.9 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 236056 files and directories currently installed.)
Removing libfinance-quote-perl (1.47-1) ...
Removing libdatetime-perl (2:1.46-1) ...
Removing libdatetime-locale-perl (1:1.17-1) ...
Removing libfile-sharedir-perl (1.104-1) ...
Removing libclass-inspector-perl (1.32-1) ...
Removing libdatetime-timezone-perl (1:2.18-1+2018d) ...
Removing libclass-singleton-perl (1.5-1) ...
Removing libjson-xs-perl (3.040-1) ...
Removing libtypes-serialiser-perl (1.0-1) ...
Removing libcommon-sense-perl (3.74-2build2) ...
Removing libdate-manip-perl (6.60-1) ...
Removing libhtml-tableextract-perl (2.15-1) ...
Removing libjs-jquery (3.2.1-1) ...
Removing libjson-perl (2.97001-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1)

--> sudo make install

<<snip a large listing>>

 
SMB: And gnucash works.  So why didn't installing the debian package work?

-- 
Stephen M Butler, PMP, PSM
Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8




More information about the gnucash-devel mailing list