komarek
Posts: 146
Joined: Fri Mar 31, 2017 1:19 am

APT great pain

Fri Jan 12, 2018 8:22 pm

i was installing mosquitto
i made some mess
and now anything i try to install (apt-get install)
i get this:

Illegal instruction
E: subprocess /usr/bin/apt-listchanges --apt || test $? -lt 10 returned error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10

please help me
i m stuck

komarek
Posts: 146
Joined: Fri Mar 31, 2017 1:19 am

Re: APT great pain

Fri Jan 12, 2018 9:53 pm

i fixed it removing apt-listchanges
but now i install mosquitto and doesnt start

User avatar
DougieLawson
Posts: 34166
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: APT great pain

Fri Jan 12, 2018 10:07 pm

Run it with

sudo mosquitto -c /etc/mosquitto/mosquitto.conf
and it should spew out a bunch of error messages.

If it doesn't tell you what's wrong you can add

Code: Select all

log_type all
to get it making more noise.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

komarek
Posts: 146
Joined: Fri Mar 31, 2017 1:19 am

Re: APT great pain SOLVED

Sat Jan 13, 2018 2:51 am

i had a wrong repo of debian
and i installed a wrong version of Mosquitto

so had to reinstall it again.

now my problem is:
i deleted apt-listchanges

cause it was bad configured
shall i reinstall it again?

Heater
Posts: 10257
Joined: Tue Jul 17, 2012 3:02 pm

Re: APT great pain

Sat Jan 13, 2018 7:15 am

Given that you have messed up your system by using an incorrect repo I think it would be quicker and easier to simply download a fresh Raspbian image and reflash your SD card. Start again from scratch, a known good system.

Return to “General discussion”