komarek
Posts: 149
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: 149
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: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

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.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

komarek
Posts: 149
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: 15949
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.
Memory in C++ is a leaky abstraction .

Return to “General discussion”