New to Linux Please help

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
jackryan78
Level 1
Level 1
Posts: 11
Joined: Thu Feb 22, 2018 4:27 pm

New to Linux Please help

Post by jackryan78 » Thu Feb 22, 2018 4:36 pm

Been using linux Mint 18.3 Sylvia for about 2 months now. Had a mate of mine install it on my desktop. Unfortunately my good mate passed away last month. Outside of the struggle of his passing I have been having issues with doing updates. I have googled the life out of this and have not had much luck. Any help or where else to look I would so appreciate the guidance. Thank you in advance for any help. This is the error I am getting.

E: redmine: subprocess installed post-removal script returned error exit status 123

Be Well
Jack

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: New to Linux Please help

Post by kc1di » Thu Feb 22, 2018 5:23 pm

Hello jackryan78 and Welcome to Linux Mint Forums,

You can try these commands one at a time in a terminal and see if it clears it.

Code: Select all

sudo dpkg --configure -a
sudo apt autoclean
sudo apt clean
sudo apt update
Then try the upgrade again.
good luck.
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

Cosmo.
Level 23
Level 23
Posts: 17829
Joined: Sat Dec 06, 2014 7:34 am

Re: New to Linux Please help

Post by Cosmo. » Thu Feb 22, 2018 5:27 pm

jackryan78 wrote:
Thu Feb 22, 2018 4:36 pm
I have been having issues with doing updates.
Which? We need details.

jackryan78
Level 1
Level 1
Posts: 11
Joined: Thu Feb 22, 2018 4:27 pm

Re: New to Linux Please help

Post by jackryan78 » Thu Feb 22, 2018 5:50 pm

Hello and thank you, I tried the first suggestion and nothing seemed to change this is what I am getting from the update manager:

(Reading database ... 1015259 files and directories currently installed.)
Removing redmine (3.2.1-2) ...
ls: cannot access '/etc/redmine/*/database.yml': No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
basename: missing operand
Try 'basename --help' for more information.
dpkg: error processing package redmine (--remove):
subprocess installed post-removal script returned error exit status 123
Errors were encountered while processing:
redmine
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

Thank you in advance

Cosmo.
Level 23
Level 23
Posts: 17829
Joined: Sat Dec 06, 2014 7:34 am

Re: New to Linux Please help

Post by Cosmo. » Thu Feb 22, 2018 6:09 pm

The 3rd line seems to refer to this, but I have no experience with it.

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: New to Linux Please help

Post by kc1di » Thu Feb 22, 2018 6:13 pm

Ok go to synaptic package manager and click on edit then fix broken package does that doing anything?
If that does nothing please go to a terminal and enter this command and post the output here:

Code: Select all

inxi -Sr
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

jackryan78
Level 1
Level 1
Posts: 11
Joined: Thu Feb 22, 2018 4:27 pm

Re: New to Linux Please help

Post by jackryan78 » Thu Feb 22, 2018 6:16 pm

Thank you, still not having much luck. I appreciate the help I just keep chipping away at it. This is what I am getting know:
dpkg: error processing package redmine (--remove):
subprocess installed post-removal script returned error exit status 123
Errors were encountered while processing:
redmine
E: Sub-process /usr/bin/dpkg returned an error code (1)

jackryan78
Level 1
Level 1
Posts: 11
Joined: Thu Feb 22, 2018 4:27 pm

Re: New to Linux Please help

Post by jackryan78 » Thu Feb 22, 2018 6:22 pm

Thank you I tried both suggestions this is what I got back from the terminal :
jack@test-desktop ~ $ inxi -Sr
System: Host: test-desktop Kernel: 4.13.0-32-generic x86_64 (64 bit)
Desktop: Cinnamon 3.6.7 Distro: Linux Mint 18.3 Sylvia
Repos: Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
Active apt sources in file: /etc/apt/sources.list.d/dotnetdev.list
deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main
Active apt sources in file: /etc/apt/sources.list.d/gerardpuig-ppa-xenial.list
deb http://ppa.launchpad.net/gerardpuig/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/gerardpuig/ppa/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/haraldhv-shotcut-xenial.list
deb http://ppa.launchpad.net/haraldhv/shotcut/ubuntu xenial main
deb-src http://ppa.launchpad.net/haraldhv/shotcut/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/jonathonf-openjdk-xenial.list
deb http://ppa.launchpad.net/jonathonf/openjdk/ubuntu xenial main
deb-src http://ppa.launchpad.net/jonathonf/openjdk/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/kubuntu-ppa-backports-xenial.list
deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial main
deb-src http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/libreoffice-ppa-xenial.list
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/numix-ppa-xenial.list
deb http://ppa.launchpad.net/numix/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/numix/ppa/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com sylvia main upstream import backport
deb http://archive.linux.duke.edu/ubuntu xenial main restricted universe multiverse
deb http://archive.linux.duke.edu/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.linux.duke.edu/ubuntu xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner
Active apt sources in file: /etc/apt/sources.list.d/opera-stable.list
deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
Active apt sources in file: /etc/apt/sources.list.d/stebbins-handbrake-releases-xenial.list
deb http://ppa.launchpad.net/stebbins/handb ... ses/ubuntu xenial main
deb-src http://ppa.launchpad.net/stebbins/handb ... ses/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/team-xbmc-ppa-xenial.list
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/torik-habib-multimedia-xenial.list
deb http://ppa.launchpad.net/torik-habib/multimedia/ubuntu xenial main
deb-src http://ppa.launchpad.net/torik-habib/multimedia/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/webupd8team-java-xenial.list
deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main

User avatar
JerryF
Level 9
Level 9
Posts: 2891
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: New to Linux Please help

Post by JerryF » Thu Feb 22, 2018 6:59 pm

jackryan78 wrote:
Thu Feb 22, 2018 4:36 pm
...Had a mate of mine install it on my desktop. Unfortunately my good mate passed away last month. Outside of the struggle of his passing I have been having issues with doing updates.
No technical advice---just wanted to send you my condolences regarding your mate.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

jackryan78
Level 1
Level 1
Posts: 11
Joined: Thu Feb 22, 2018 4:27 pm

Re: New to Linux Please help

Post by jackryan78 » Thu Feb 22, 2018 7:05 pm

Thank you so very much

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: New to Linux Please help

Post by kc1di » Thu Feb 22, 2018 7:26 pm

do you know what redmine is? all I can find out about it is that its a database of some sort.
you can try this again in a terminal.

Code: Select all

sudo apt purge redmine
tell me what is says.
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

jackryan78
Level 1
Level 1
Posts: 11
Joined: Thu Feb 22, 2018 4:27 pm

Re: New to Linux Please help

Post by jackryan78 » Thu Feb 22, 2018 7:36 pm

I'm trying to learn more about it, been reading trying to take it in. Thank you so much again for the help! Here is what it says:
jack@test-desktop ~ $ sudo apt purge redmine
[sudo] password for jack:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libboost-locale1.58.0 libjs-codemirror ruby-recaptcha
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
redmine*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 9,094 kB disk space will be freed.
Do you want to continue? [Y/n]

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: New to Linux Please help

Post by kc1di » Thu Feb 22, 2018 9:11 pm

go ahead and do the purge run the command again and enter Y.
after that's finished enter this command

Code: Select all

sudo apt autoremove
after it's all finished try the upgrade manager again.
good luck.
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

jackryan78
Level 1
Level 1
Posts: 11
Joined: Thu Feb 22, 2018 4:27 pm

Re: New to Linux Please help

Post by jackryan78 » Thu Feb 22, 2018 9:38 pm

I tried I don't think that worked This is what I got back:
jack@test-desktop ~ $ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libboost-locale1.58.0 libjs-codemirror ruby-recaptcha
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,100 kB of archives.
After this operation, 4,135 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 1015259 files and directories currently installed.)
Removing libboost-locale1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
Removing libjs-codemirror (5.4.0-1) ...
Removing ruby-recaptcha (0.4.0-1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
dpkg: error processing package redmine (--configure):
package redmine is not ready for configuration
cannot configure (current status 'half-installed')
Errors were encountered while processing:
redmine
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks so much again for any help

jackryan78
Level 1
Level 1
Posts: 11
Joined: Thu Feb 22, 2018 4:27 pm

Re: New to Linux Please help

Post by jackryan78 » Thu Feb 22, 2018 9:50 pm

I also tried this in the Synaptic package manager and got this:
Preconfiguring packages ...
Selecting previously unselected package redmine.
(Reading database ... 1014820 files and directories currently installed.)
Preparing to unpack .../redmine_3.2.1-2_all.deb ...
Unpacking redmine (3.2.1-2) over (3.2.1-2) ...
ls: cannot access '/etc/redmine/*/database.yml': No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
basename: missing operand
Try 'basename --help' for more information.
dpkg: warning: subprocess old post-removal script returned error exit status 123
dpkg: trying script from the new package instead ...
ls: cannot access '/etc/redmine/*/database.yml': No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
basename: missing operand
Try 'basename --help' for more information.
dpkg: error processing archive /var/cache/apt/archives/redmine_3.2.1-2_all.deb (--unpack):
subprocess new post-removal script returned error exit status 123
ls: cannot access '/etc/redmine/*/database.yml': No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
basename: missing operand
Try 'basename --help' for more information.
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 123
Errors were encountered while processing:
/var/cache/apt/archives/redmine_3.2.1-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
I cant un-install it or reinstall install it. Or even remove it.

User avatar
Pierre
Level 17
Level 17
Posts: 7289
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: New to Linux Please help

Post by Pierre » Thu Feb 22, 2018 10:24 pm

Errors were encountered while processing:
redmine
that seems to be the main issue:
so, click on the Update Manager Icon - - Edit - Software Sources ( enter your password )
then on the Main Screen - Official Repositories - down the bottom of that screen:
- click on "Restore the default settings".
then on the Top Right Corner - click on "Update the cache".

while you are on this screen - - click on Both Mirrors & select the fastest mirror for your area.
then, at the Top of That Screen - - click on "refresh".

and now see if you are getting any more errors.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

jackryan78
Level 1
Level 1
Posts: 11
Joined: Thu Feb 22, 2018 4:27 pm

Re: New to Linux Please help

Post by jackryan78 » Fri Feb 23, 2018 2:31 pm

Thank you all again for your help and have continued trying all that you have suggested. My latest as for my last attempt I got the following after changing back to the defaults for the mirror and updated cache:

E: redmine: package redmine is not ready for configuration cannot configure (current status 'half-installed')

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: New to Linux Please help

Post by kc1di » Fri Feb 23, 2018 2:36 pm

At this point since this is not a Linux Mint Program and is installed outside of Mint you may need to seek help from redmine itself.
they have a help option here, not sure if it a paid option or not. Good luck.
https://www.easyredmine.com/redmine-ser ... gKWtfD_BwE
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: New to Linux Please help

Post by Sir Charles » Fri Feb 23, 2018 2:48 pm

kc1di wrote:
Fri Feb 23, 2018 2:36 pm
At this point since this is not a Linux Mint Program and is installed outside of Mint...
Hi kc1di,
There is a package "redmine" in Synaptic. I wonder if it wasn't installed via Synaptic.
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: New to Linux Please help

Post by kc1di » Fri Feb 23, 2018 3:03 pm

Marziano wrote:
Fri Feb 23, 2018 2:48 pm
kc1di wrote:
Fri Feb 23, 2018 2:36 pm
At this point since this is not a Linux Mint Program and is installed outside of Mint...
Hi kc1di,
There is a package "redmine" in Synaptic. I wonder if it wasn't installed via Synaptic.
I didn't see that last time I checked must have miss spelled redmine in my search.
if it was installed via syanptic it should be able to be fixed via syanptic or terminal but it won't allow it to be purged or installed completely so it may be a broken package. in the repositories. In any event I'm out of options for him to try. Maybe someone who has successfully installed it will come along soon.
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

Post Reply

Return to “Newbie Questions”