PDA

View Full Version : [ubuntu] 14.04.3 LTS: rsyslog error after update and dist-upgrade



obioan
October 24th, 2017, 09:46 AM
Hello,

I have the following problem after updating and dist-upgrading ubuntu.


sudo dpkg --configure -a
Setting up rsyslog (8.30.0-0adiscon2trusty1) ...
/usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: /sbin/runlevel: not found
start: Job failed to start
invoke-rc.d: initscript rsyslog, action "start" failed.
dpkg: error processing package rsyslog (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
rsyslog


It seems that runlevel file is not available in the system. Somehow...
What information can I share to be able to get past this error?

my /etc/apt/sources.list

#

# deb cdrom:[Ubuntu-Server 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted

# deb cdrom:[Ubuntu-Server 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ro.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://ro.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ro.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://ro.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ro.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://ro.archive.ubuntu.com/ubuntu/ trusty universe
deb http://ro.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://ro.archive.ubuntu.com/ubuntu/ trusty-updates universe

# deb http://old-releases.ubuntu.com/ubuntu wily main universe
# deb http://us.archive.ubuntu.com/ubuntu wily main universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ro.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://ro.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://ro.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://ro.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ro.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://ro.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

#jenkins
deb http://pkg.jenkins-ci.org/debian binary/

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main



I know this has been discussed but none of the solutions worked for me.
Any help would be appreciated.

Thanks.

dino99
October 24th, 2017, 11:15 AM
why are you mixing ubuntu & debian ? (possible conflict on some packages settings)
maybe try cleaning the system, running: gtkorphan & bleachbit (as root, but carefully select the optin feature)

obioan
October 24th, 2017, 12:15 PM
Finally I upgraded from 14 to 16 and all seems fine.
I ran "do-release-upgrade" and all my problems were taken care of.