TAILS: Instalação persistente do pacote deb em cada inicialização

0

Eu quero instalar aplicativos persistentes em cima de caudas. a maneira como funcionaria é que ele seria instalado toda vez que as caudas fossem ativadas. Como fazer isso? Pelo que entendi:

eu criei /live/persistence/TailsData_unlocked/apt-sources.list.d/mydebs.list

então

sudo apt install dpkg-dev

então

dpkg-scanpackages -m . | gzip -9c > Packeges.gz na pasta home/amnesia/Persistent/setup contendo arquivos .deb

então adicionado:

deb [trusted=yes] file:///home/amnesia/Persistent/setup ./ em mydebs.list

então adicionado:

dpkg-dev /etc/apt/sources.list.d source=apt-sources.list.d,link em sudo gedit /live/persistence/TailsData_unlocked/persistence.conf

Depois disso eu faço: sudo apt update

Get:1 file:/home/amnesia/Persistent/setup ./ InRelease
Ign:1 file:/home/amnesia/Persistent/setup ./ InRelease
Get:2 file:/home/amnesia/Persistent/setup ./ Release
Ign:2 file:/home/amnesia/Persistent/setup ./ Release
Get:3 file:/home/amnesia/Persistent/setup ./ Packages
Ign:3 file:/home/amnesia/Persistent/setup ./ Packages
Get:4 file:/home/amnesia/Persistent/setup ./ Translation-en
Ign:4 file:/home/amnesia/Persistent/setup ./ Translation-en
Get:3 file:/home/amnesia/Persistent/setup ./ Packages
Ign:3 file:/home/amnesia/Persistent/setup ./ Packages
Get:4 file:/home/amnesia/Persistent/setup ./ Translation-en
Ign:4 file:/home/amnesia/Persistent/setup ./ Translation-en
Get:3 file:/home/amnesia/Persistent/setup ./ Packages
Ign:3 file:/home/amnesia/Persistent/setup ./ Packages
Get:4 file:/home/amnesia/Persistent/setup ./ Translation-en              
Ign:4 file:/home/amnesia/Persistent/setup ./ Translation-en              
Get:3 file:/home/amnesia/Persistent/setup ./ Packages                    
Ign:3 file:/home/amnesia/Persistent/setup ./ Packages                    
Get:4 file:/home/amnesia/Persistent/setup ./ Translation-en              
Ign:4 file:/home/amnesia/Persistent/setup ./ Translation-en              
Get:3 file:/home/amnesia/Persistent/setup ./ Packages                    
Ign:3 file:/home/amnesia/Persistent/setup ./ Packages                    
Get:4 file:/home/amnesia/Persistent/setup ./ Translation-en              
Ign:4 file:/home/amnesia/Persistent/setup ./ Translation-en              
Get:3 file:/home/amnesia/Persistent/setup ./ Packages                    
Err:3 file:/home/amnesia/Persistent/setup ./ Packages                    
  File not found - /home/amnesia/Persistent/setup/./Packages (2: No such file or directory)
Get:4 file:/home/amnesia/Persistent/setup ./ Translation-en              
Ign:4 file:/home/amnesia/Persistent/setup ./ Translation-en              
Hit:5 tor+http://jenw7xbd6tf7vfhp.onion 3.6.2 InRelease                  
Ign:6 tor+http://vwakviie2ienjx6t.onion/debian stretch InRelease         
Hit:7 tor+http://sdscoq7snqtznauu.onion/torproject.org stretch InRelease 
Get:8 tor+http://vwakviie2ienjx6t.onion/debian sid InRelease [242 kB]    
Hit:9 tor+http://sdscoq7snqtznauu.onion/torproject.org sid InRelease     
Hit:10 tor+http://sgvtcaew4bxjd7ln.onion stretch/updates InRelease       
Get:11 tor+http://vwakviie2ienjx6t.onion/debian stretch-backports InRelease [91.8 kB]
Hit:12 tor+http://vwakviie2ienjx6t.onion/debian stretch Release          
Get:14 tor+http://vwakviie2ienjx6t.onion/debian sid/main amd64 Packages.diff/Index [27.9 kB]
Get:15 tor+http://vwakviie2ienjx6t.onion/debian sid/main Translation-en.diff/Index [27.9 kB]
Get:16 tor+http://vwakviie2ienjx6t.onion/debian stretch-backports/main amd64 Packages.diff/Index [27.8 kB]
Get:17 tor+http://vwakviie2ienjx6t.onion/debian sid/main amd64 Packages 2018-05-06-2022.44.pdiff [37.8 kB]
Get:18 tor+http://vwakviie2ienjx6t.onion/debian sid/main Translation-en 2018-05-06-2022.44.pdiff [1,765 B]
Get:17 tor+http://vwakviie2ienjx6t.onion/debian sid/main amd64 Packages 2018-05-06-2022.44.pdiff [37.8 kB]
Get:18 tor+http://vwakviie2ienjx6t.onion/debian sid/main Translation-en 2018-05-06-2022.44.pdiff [1,765 B]
Get:19 tor+http://vwakviie2ienjx6t.onion/debian stretch-backports/main amd64 Packages 2018-05-06-2022.44.pdiff [447 B]
Get:19 tor+http://vwakviie2ienjx6t.onion/debian stretch-backports/main amd64 Packages 2018-05-06-2022.44.pdiff [447 B]
Fetched 457 kB in 15s (28.7 kB/s)                                        
Reading package lists... Done
N: Download is performed unsandboxed as root as file '/home/amnesia/Persistent/setup/./InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Failed to fetch file:/home/amnesia/Persistent/setup/./Packages  File not found - /home/amnesia/Persistent/setup/./Packages (2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones used instead.
    
por user2290820 07.05.2018 / 11:04

0 respostas

Tags