1

I'm using the program xtrkcad to design a model railroad layout. The version 4.2.1 has been out for several months, and I'm using it. But whenever I do an update, the system updater wants to install an older version (4.0.2). What does it take to get the newer version into the repositories so that it will be installed (or more precisely, so the older version won't be installed, overwriting the newer version)? I'm just a user, not the maintainer of this software.

Paul A.
  • 2,241

1 Answers1

0

currentUbuntu version not support latest version 4.2.1 of xtrkcad. it support 4.0.2 even wily version not support version more than 4.0.2. so there is only option to install it manually. see here.

uninstall older version of xtrkcad if you are already installed using command

sudo apt-get purge xtrkcad

and download latest version 4.2.1 from here according to your system architecture. then install using command:

sudo dpkg -i xtrkcad_4.2.0-1_amd64.deb

if this show any dependency error then run command:

sudo apt-get install -f

it will install dependencies of xtrkcad then again install

sudo dpkg -i xtrkcad_4.2.0-1_amd64.deb

or

you can download source code from here and compile manually .

EDIT : if you don't want to upgrade or downgrade any package then you can put that package on hold using command :

echo "xtrkcad hold" | sudo dpkg --set-selections

or

sudo aptitude hold xtrkcad

or

sudo apt-mark hold xtrkcad

or use Synaptic Package Manager to lock version

or try other solution suggested in How to prevent updating of a specific package?

and also see What does 'Lock Version' do? . these are popular question but old so it may be some solution may not work but this is good.

pl_rock
  • 11,715