You are not logged in.

#1 2019-05-31 16:25

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Apt -get update dont work

Hi. I was trying to install the tor browser through a tutorial and I do not know what I did wrong and now I can not update ...

terminal :
alumno@q4os-desktop:~$ sudo apt-get update
E: No se pudo encontrar el método /usr/lib/apt/methods/https.
N: ¿Está instalado el paquete apt-transport-https?
alumno@q4os-desktop:~$

Offline

#2 2019-05-31 16:42

jotapesse
Member
From: Algarve, Portugal
Registered: 2019-03-23
Posts: 67

Re: Apt -get update dont work

Hi! Have you changed your sources lists in any way?

apt-get is complaining about not having "apt-transport-https" package installed because somewhere on your sources lists files it is setup a repository access with "https" secure transport. You may try to install the required package and see if resolves it.

$ sudo apt install apt-transport-https

jotapesse - Obrigado / Thank you.

Offline

#3 2019-05-31 16:48

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Apt -get update dont work

alumno@q4os-desktop:~$ $ sudo apt install apt-transport-https
bash: $: no se encontró la orden
alumno@q4os-desktop:~$ $ sudo apt-get  install apt-transport-https
bash: $: no se encontró la orden
alumno@q4os-desktop:~$ $ sudo apt-get install apt-transport-https
bash: $: no se encontró la orden
alumno@q4os-desktop:~$


---------------------------------------------------------------------------------------------------------------------

I follow this tutoral : https://securityhacklabs.net/forum/dist … n-debian-9

Last edited by mrflavius (2019-05-31 16:52)

Offline

#4 2019-05-31 16:57

jotapesse
Member
From: Algarve, Portugal
Registered: 2019-03-23
Posts: 67

Re: Apt -get update dont work

smile Just write on terminal (without the $):

$ sudo apt install apt-transport-https

Last edited by jotapesse (2019-05-31 17:24)


jotapesse - Obrigado / Thank you.

Offline

#5 2019-05-31 17:01

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Apt -get update dont work

alumno@q4os-desktop:~$ sudo apt install apt-transport-https
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete apt-transport-https
alumno@q4os-desktop:~$
sad

Offline

#6 2019-05-31 17:07

jotapesse
Member
From: Algarve, Portugal
Registered: 2019-03-23
Posts: 67

Re: Apt -get update dont work

Can you update first? Write on terminal (without the $):

$ sudo apt update

Also please report what is the result of the command (always without the $):

$ qrepolist

jotapesse - Obrigado / Thank you.

Offline

#7 2019-05-31 17:19

jotapesse
Member
From: Algarve, Portugal
Registered: 2019-03-23
Posts: 67

Re: Apt -get update dont work

Also, according to the tutorial you followed you edited the /etc/apt/sources.list with the lines:

deb https://deb.torproject.org/torproject.org stretch main
deb-src https://deb.torproject.org/torproject.org stretch main

You must comment out these lines (to disable them), edit and save so that results:

# deb https://deb.torproject.org/torproject.org stretch main
# deb-src https://deb.torproject.org/torproject.org stretch main

Then you should be able to update and install (always without the $):

$ sudo apt update
$ sudo apt install apt-transport-https

If you succeed then you can enable (remove the comment preceding "#") those lines on /etc/apt/sources.list, edit and save so that results:

deb https://deb.torproject.org/torproject.org stretch main
deb-src https://deb.torproject.org/torproject.org stretch main

jotapesse - Obrigado / Thank you.

Offline

#8 2019-05-31 17:43

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 2,447
Website

Re: Apt -get update dont work

@mrflavius
What version of Q4OS do you use ? Apt-transport-https is a hard dependency of q4os-desktop for Scorpion, so it couldn't be easily removed from system.

Offline

#9 2019-05-31 18:27

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Apt -get update dont work

q4osteam wrote:

@mrflavius
What version of Q4OS do you use ? .

i dont know...

(I do not know how to know)

Last edited by mrflavius (2019-05-31 18:45)

Offline

#10 2019-05-31 18:42

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Apt -get update dont work

jotapesse wrote:

Also, according to the tutorial you followed you edited the /etc/apt/sources.list with the lines:

deb https://deb.torproject.org/torproject.org stretch main
deb-src https://deb.torproject.org/torproject.org stretch main

You must comment out these lines (to disable them), edit and save so that results:

# deb https://deb.torproject.org/torproject.org stretch main
# deb-src https://deb.torproject.org/torproject.org stretch main

Then you should be able to update and install (always without the $):

$ sudo apt update
$ sudo apt install apt-transport-https

If you succeed then you can enable (remove the comment preceding "#") those lines on /etc/apt/sources.list, edit and save so that results:

deb https://deb.torproject.org/torproject.org stretch main
deb-src https://deb.torproject.org/torproject.org stretch main

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
solved (I think ...)
sudo apt-get update :

Ign http://packages.siduction.org jessie-backports InRelease
Obj http://www.deb-multimedia.org jessie InRelease
Obj http://q4os.org q4os-1-0-cn InRelease
Ign http://ftp.debian.org jessie InRelease
Ign http://packages.siduction.org jessie-backports Release.gpg
Obj http://ftp.debian.org jessie-updates InRelease
Obj http://security.debian.org jessie/updates InRelease
Obj http://q4os.org jessie InRelease
Ign http://packages.siduction.org jessie-backports Release
Ign http://ftp.debian.org jessie-backports InRelease
Obj http://ftp.debian.org jessie Release.gpg
Des:1 http://security.debian.org jessie/updates/contrib i386 Packages [2.526 B]
Ign http://ftp.debian.org jessie-backports Release.gpg
Des:2 http://security.debian.org jessie/updates/non-free i386 Packages [4.554 B]
Obj http://ftp.debian.org jessie Release
Des:3 http://security.debian.org jessie/updates/main i386 Packages [685 kB]
Obj http://www.deb-multimedia.org jessie/main i386 Packages
Ign http://ftp.debian.org jessie-backports Release
Des:4 http://security.debian.org jessie/updates/contrib Translation-en [1.211 B]
Obj http://www.deb-multimedia.org jessie/non-free i386 Packages
Obj http://q4os.org q4os-1-0-cn/main i386 Packages
Des:5 http://security.debian.org jessie/updates/main Translation-en [345 kB]
Obj http://www.deb-multimedia.org jessie/main Translation-en
Des:6 http://security.debian.org jessie/updates/non-free Translation-en [11,8 kB]
Obj http://www.deb-multimedia.org jessie/non-free Translation-en
Obj http://q4os.org jessie/main i386 Packages
Obj http://ftp.debian.org jessie/main i386 Packages
Obj http://ftp.debian.org jessie/contrib i386 Packages
Obj http://ftp.debian.org jessie/non-free i386 Packages
Obj http://ftp.debian.org jessie/contrib Translation-en
Obj http://ftp.debian.org jessie/main Translation-es
Ign http://q4os.org q4os-1-0-cn/main Translation-es_AR
Obj http://ftp.debian.org jessie/main Translation-en
Ign http://q4os.org q4os-1-0-cn/main Translation-es
Obj http://ftp.debian.org jessie/non-free Translation-en
Ign http://q4os.org q4os-1-0-cn/main Translation-en
Ign http://q4os.org jessie/main Translation-es_AR
Ign http://q4os.org jessie/main Translation-es
Ign http://q4os.org jessie/main Translation-en
Err http://packages.siduction.org jessie-backports/main i386 Packages
  404  Not Found
Err http://packages.siduction.org jessie-backports/contrib i386 Packages
  404  Not Found
Err http://packages.siduction.org jessie-backports/non-free i386 Packages
  404  Not Found
Ign http://packages.siduction.org jessie-backports/contrib Translation-es_AR
Ign http://packages.siduction.org jessie-backports/contrib Translation-es
Ign http://packages.siduction.org jessie-backports/contrib Translation-en
Ign http://packages.siduction.org jessie-backports/main Translation-es_AR
Ign http://packages.siduction.org jessie-backports/main Translation-es
Ign http://packages.siduction.org jessie-backports/main Translation-en
Ign http://packages.siduction.org jessie-backports/non-free Translation-es_AR
Ign http://packages.siduction.org jessie-backports/non-free Translation-es
Ign http://packages.siduction.org jessie-backports/non-free Translation-en
Err http://ftp.debian.org jessie-backports/main Sources
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org jessie-backports/contrib Sources
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org jessie-backports/non-free Sources
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org jessie-backports/main i386 Packages
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org jessie-backports/contrib i386 Packages
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org jessie-backports/non-free i386 Packages
  404  Not Found [IP: 130.89.148.12 80]
Ign http://ftp.debian.org jessie-backports/contrib Translation-es_AR
Ign http://ftp.debian.org jessie-backports/contrib Translation-es
Ign http://ftp.debian.org jessie-backports/contrib Translation-en
Ign http://ftp.debian.org jessie-backports/main Translation-es_AR
Ign http://ftp.debian.org jessie-backports/main Translation-es
Ign http://ftp.debian.org jessie-backports/main Translation-en
Ign http://ftp.debian.org jessie-backports/non-free Translation-es_AR
Ign http://ftp.debian.org jessie-backports/non-free Translation-es
Ign http://ftp.debian.org jessie-backports/non-free Translation-en
W: Fallo al obtener http://ftp.debian.org/debian/dists/jess … /InRelease  Noa esperada «main/binary-i386/Packages» en el archivo «Release» (entrada incorrecta mal formado)

W: Fallo al obtener http://packages.siduction.org/lxqt/dist … ts/main/ot Found

W: Fallo al obtener http://packages.siduction.org/lxqt/dist … orts/contr  Not Found

W: Fallo al obtener http://packages.siduction.org/lxqt/dist … rts/non-f4  Not Found

W: Fallo al obtener http://ftp.debian.org/debian/dists/jess … ain/source: 130.89.148.12 80]

W: Fallo al obtener http://ftp.debian.org/debian/dists/jess … ontrib/sou[IP: 130.89.148.12 80]

W: Fallo al obtener http://ftp.debian.org/debian/dists/jess … on-free/so [IP: 130.89.148.12 80]

W: Fallo al obtener http://ftp.debian.org/debian/dists/jess … n/binarynd [IP: 130.89.148.12 80]

W: Fallo al obtener http://ftp.debian.org/debian/dists/jess … b/binFound [IP: 130.89.148.12 80]

W: Fallo al obtener http://ftp.debian.org/debian/dists/jess … on-free/bi Found [IP: 130.89.148.12 80]

E: No se han podido descargar algunos archivos de índice, se han omitido, o se han u lugar.
alumno@q4os-desktop:~$       

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

alumno@q4os-desktop:~$ sudo apt-get dist-upgrade
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Calculando la actualización... Listo
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
alumno@q4os-desktop:~$

Offline

#11 2019-05-31 19:07

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 2,447
Website

Re: Apt -get update dont work

You are using Q4OS 1 Orion old-stable based on Debian Jessie, as we can see from the log posted above. We can highly recommend you to use Q4OS 2 Scorpion, the current stable version, if possible.

Offline

#12 2019-05-31 21:50

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Apt -get update dont work

q4osteam wrote:

You are using Q4OS 1 Orion old-stable based on Debian Jessie, as we can see from the log posted above. We can highly recommend you to use Q4OS 2 Scorpion, the current stable version, if possible.

1-Is there any way to update it or should I do a new installation? (from scratch)

2-so I put in my previous post the problem is solved, right?

Offline

#13 2019-06-01 10:05

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 2,447
Website

Re: Apt -get update dont work

1. You need to perform a new installation.
2. It is not solved completely. You need to remove "siduction" and "jessie-backports" repositories from your sources.list, as they are not supported anymore. Once removed do full system upgrade in terminal:
$ sudo apt-get update
$ sudo apt-get dist-upgrade
and post back a result.

Offline

#14 2019-06-01 17:12

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Apt -get update dont work

q4osteam wrote:

1. You need to perform a new installation.
2. It is not solved completely. You need to remove "siduction" and "jessie-backports" repositories from your sources.list, as they are not supported anymore. Once removed do full system upgrade in terminal:
$ sudo apt-get update
$ sudo apt-get dist-upgrade
and post back a result.

I do not know how to remove the repositories ...
(I do not intend to use a tutorial on the web again and ruin everything again,)
roll

Last edited by mrflavius (2019-06-01 17:12)

Offline

#15 2019-06-01 17:17

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 2,447
Website

Re: Apt -get update dont work

Just edit related files in /etc/sources.list.d/*.list and follow the advice by Jotapesse from here https://www.q4os.org/forum/viewtopic.ph … 382#p15382 and comment out repositories "siduction" and "jessie-backports"

Offline

#16 2019-06-01 19:56

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Apt -get update dont work

q4osteam wrote:

Just edit related files in /etc/sources.list.d/*.list and follow the advice by Jotapesse from here https://www.q4os.org/forum/viewtopic.ph … 382#p15382 and comment out repositories "siduction" and "jessie-backports"

1-I've erased everything related to Tor.

2-repositories "siduction" and "jessie-backports" : I have deleted everything related to these repositories but I still see an error after the update.


*********************************************************************************************************************************

alumno@q4os-desktop:/etc/apt/sources.list.d$ ls
10_q4os.list                     jd-team-jdownloader-jessie.list~
10_q4os.list.save                jd-team-jdownloader-jessie.list.save
12_qtde.list                     jd-team-jdownloader-jessie.list.save~
12_qtde.list.save                mozilla-debian.list.save
20_debian_jessie.list            mscore-ubuntu-mscore-stable-jessie.list
20_debian_jessie.list.save       mscore-ubuntu-mscore-stable-jessie.list~
deb-multimedia-ipc.list          mscore-ubuntu-mscore-stable-jessie.list.save
google-chrome.list               q4p-deb-multimedia-20150815035157-uxN.list.save
google-chrome.list~              shkn-xnoise-jessie.list
google-chrome.list.save          shkn-xnoise-jessie.list~
jd-team-jdownloader-jessie.list  shkn-xnoise-jessie.list.save
alumno@q4os-desktop:/etc/apt/sources.list.d$ sudo apt-get update
Obj [url]http://www.deb-multimedia.org[/url] jessie InRelease
Obj [url]http://q4os.org[/url] q4os-1-0-cn InRelease
Ign [url]http://ftp.debian.org[/url] jessie InRelease
Obj [url]http://ftp.debian.org[/url] jessie-updates InRelease
Obj [url]http://security.debian.org[/url] jessie/updates InRelease
Obj [url]http://q4os.org[/url] jessie InRelease
Obj [url]http://ftp.debian.org[/url] jessie Release.gpg
Des:1 [url]http://security.debian.org[/url] jessie/updates/contrib i386 Packages [2.526 B]
Obj [url]http://ftp.debian.org[/url] jessie Release
Des:2 [url]http://security.debian.org[/url] jessie/updates/non-free i386 Packages [4.554 B]
Obj [url]http://www.deb-multimedia.org[/url] jessie/main i386 Packages
Des:3 [url]http://security.debian.org[/url] jessie/updates/main i386 Packages [686 kB]
Obj [url]http://www.deb-multimedia.org[/url] jessie/non-free i386 Packages
Obj [url]http://q4os.org[/url] q4os-1-0-cn/main i386 Packages
Des:4 [url]http://security.debian.org[/url] jessie/updates/contrib Translation-en [1.211 B]
Obj [url]http://www.deb-multimedia.org[/url] jessie/main Translation-en
Des:5 [url]http://security.debian.org[/url] jessie/updates/main Translation-en [345 kB]
Des:6 [url]http://security.debian.org[/url] jessie/updates/non-free Translation-en [11,8 kB]
Obj [url]http://www.deb-multimedia.org[/url] jessie/non-free Translation-en
Obj [url]http://ftp.debian.org[/url] jessie/main i386 Packages
Obj [url]http://ftp.debian.org[/url] jessie/contrib i386 Packages
Obj [url]http://ftp.debian.org[/url] jessie/non-free i386 Packages
Obj [url]http://ftp.debian.org[/url] jessie/contrib Translation-en
Obj [url]http://q4os.org[/url] jessie/main i386 Packages
Obj [url]http://ftp.debian.org[/url] jessie/main Translation-es
Obj [url]http://ftp.debian.org[/url] jessie/main Translation-en
Obj [url]http://ftp.debian.org[/url] jessie/non-free Translation-en
Ign [url]http://q4os.org[/url] q4os-1-0-cn/main Translation-es_AR
Ign [url]http://q4os.org[/url] q4os-1-0-cn/main Translation-es
Ign [url]http://q4os.org[/url] q4os-1-0-cn/main Translation-en
Ign [url]http://q4os.org[/url] jessie/main Translation-es_AR
Ign [url]http://q4os.org[/url] jessie/main Translation-es
Ign [url]http://q4os.org[/url] jessie/main Translation-en
W: Fallo al obtener [url]http://ftp.debian.org/debian/dists/jessie-updates/InRelease[/url]  No se pudo encontrar la entrada esperada «main/binary-i386/Packages» en el archivo «Release» (entrada incorrecta en «sources.list» o fichero mal formado)

E: No se han podido descargar algunos archivos de índice, se han omitido, o se han utilizado unos antiguos en su lugar.

Last edited by mrflavius (2019-06-01 20:00)

Offline

#17 2019-06-01 22:11

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,721
Website

Re: Apt -get update dont work

If you use the package inxi you could issue the command

inxi -r

which will give you something similar to this...

Repos:     Active apt sources in file: /etc/apt/sources.list.d/10_q4os.list
           deb http://q4os.org/q4repo q4os-2-0-cn main
           Active apt sources in file: /etc/apt/sources.list.d/12_qtde.list
           deb http://q4os.org/qtderepo stretch main
           Active apt sources in file: /etc/apt/sources.list.d/20_debian.list
           deb http://ftp.debian.org/debian/ stretch main contrib non-free
           deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free
           deb http://ftp.debian.org/debian/ stretch-updates main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/dvpck_q4os-chrome.list
           deb [arch=amd64] http://q4os.org/qextrepo stretch-chrome-cn main
           Active apt sources in file: /etc/apt/sources.list.d/dvpck_q4os-libreoffice.list
           deb http://q4os.org/qextrepo stretch-libreoffice-cn main
           Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
           deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

This tells you which repositories are active and the file that contains them, from there it will be easier to remove (or comment out) the offending entries.

Offline

Board footer

Powered by FluxBB