[GNC] Upgrade 2.6.18 to 3.5

Stephen M. Butler kg7je at arrl.net
Wed Apr 10 21:48:41 EDT 2019


On 4/10/19 6:06 PM, Elmarts wrote:
> Stephen M. Butler wrote
>> Or, if your distro is Ubuntu based, you can download the *.deb files
>> from: 
>> https://drive.google.com/open?id=11gjnSIw9E8B8kOJ01DHQuEA83xidbw8E  for
>> the 3.5 version.
> Downloaded!  Now, if I click on the deb and install with the gdebi
> installer, will it automagically take care of fixing everything, or will it
> simply install GC into a separate folder, leaving the old 2.6 version alone?
> - Elmar

I have not used gdebi.  I uninstall previous versions.  How you do that
depends on how the previous version was installed.  If you did a local
compile and install then you will need to use the same make file to
uninstall it.

Otherwise, I do:

sudo apt remove *gnucash*

cd Download (or appropriate folder for the 3 deb files)

sudo apt install ./*gnucash*3.5_*.deb

Please note the leading ./ on the file name pattern.  Otherwise, apt
will go looking in the repository instead of your hard drive.


Here is the output from doing the above on my system:

$ sudo apt remove *gnucash*
[sudo] password for steve: xxxxxxxxxxxxxxx
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'gnucash-docs' for glob '*gnucash*'
Note, selecting 'python3-gnucash' for glob '*gnucash*'
Note, selecting 'gnucash-build-deps' for glob '*gnucash*'
Note, selecting 'python-gnucash' for glob '*gnucash*'
Note, selecting 'gnucash' for glob '*gnucash*'
Note, selecting 'pythone3-gnucash' for glob '*gnucash*'
Note, selecting 'gnucash-common' for glob '*gnucash*'
Package 'pythone3-gnucash' is not installed, so not removed
Package 'python-gnucash' is not installed, so not removed
The following packages were automatically installed and are no longer
required:
  libclass-inspector-perl libclass-singleton-perl libcommon-sense-perl
  libdate-manip-perl libdatetime-locale-perl libdatetime-perl
  libdatetime-timezone-perl libdbd-sqlite3 libfile-sharedir-perl
  libfinance-quote-perl libhtml-tableextract-perl libjs-jquery libjson-perl
  libjson-xs-perl libsecret-1-dev libtypes-serialiser-perl locales-all swig
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  gnucash gnucash-build-deps gnucash-common gnucash-docs python3-gnucash
0 upgraded, 0 newly installed, 5 to remove and 4 not upgraded.
After this operation, 189 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 248347 files and directories currently installed.)
Removing gnucash (1:3.4) ...
Removing gnucash-build-deps (1:3.5) ...
Removing gnucash-common (1:3.4) ...
Removing gnucash-docs (2.6.19-1) ...
Removing python3-gnucash (1:3.4) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libglib2.0-0:amd64 (2.56.3-0ubuntu0.18.04.1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...



$ cd Projects/GnuCash  # where I do the build on my box for uploading to
Google Drive.

$ ls -l *3.5*.deb  # The three files you should have downloaded.
-rw-r--r-- 1 steve steve 3953180 Apr  4 09:46 gnucash_3.5_amd64.deb
-rw-r--r-- 1 steve steve 5127460 Apr  4 09:46 gnucash-common_3.5_all.deb
-rw-r--r-- 1 steve steve  269772 Apr  4 09:46 python3-gnucash_3.5_amd64.deb

$ sudo apt install ./*gnucash*3.5_*.deb
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'gnucash' instead of './gnucash_3.5_amd64.deb'
Note, selecting 'gnucash-common' instead of './gnucash-common_3.5_all.deb'
Note, selecting 'python3-gnucash' instead of
'./python3-gnucash_3.5_amd64.deb'
The following packages were automatically installed and are no longer
required:
  libsecret-1-dev locales-all swig
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  gnucash-docs
Suggested packages:
  libdbd-mysql
Recommended packages:
  pythone3-gnucash
The following NEW packages will be installed:
  gnucash gnucash-common gnucash-docs python3-gnucash
0 upgraded, 4 newly installed, 0 to remove and 4 not upgraded.
Need to get 89.1 MB/98.4 MB of archives.
After this operation, 190 MB of additional disk space will be used.
Do you want to continue? [Y/n] YGet:1
/home/steve/Projects/GnuCash/gnucash-common_3.5_all.deb gnucash-common
all 1:3.5 [5,127 kB]
Get:2 /home/steve/Projects/GnuCash/gnucash_3.5_amd64.deb gnucash amd64
1:3.5 [3,953 kB]
Get:3 /home/steve/Projects/GnuCash/python3-gnucash_3.5_amd64.deb
python3-gnucash amd64 1:3.5 [270 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64
gnucash-docs all 2.6.19-1 [89.1 MB]
Fetched 89.1 MB in 2min 48s (529
kB/s)                                        
Selecting previously unselected package gnucash-common.
(Reading database ... 243886 files and directories currently installed.)
Preparing to unpack .../gnucash-common_3.5_all.deb ...
Unpacking gnucash-common (1:3.5) ...
Selecting previously unselected package gnucash.
Preparing to unpack .../GnuCash/gnucash_3.5_amd64.deb ...
Unpacking gnucash (1:3.5) ...
Selecting previously unselected package python3-gnucash.
Preparing to unpack .../python3-gnucash_3.5_amd64.deb ...
Unpacking python3-gnucash (1:3.5) ...
Selecting previously unselected package gnucash-docs.
Preparing to unpack .../gnucash-docs_2.6.19-1_all.deb ...
Unpacking gnucash-docs (2.6.19-1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libglib2.0-0:amd64 (2.56.3-0ubuntu0.18.04.1) ...
Setting up python3-gnucash (1:3.5) ...
Setting up gnucash-common (1:3.5) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up gnucash-docs (2.6.19-1) ...
Setting up gnucash (1:3.5) ...


--Steve

-- 
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-user mailing list