Page 1 of 1

Using PPA repository in Debian Dog

Posted: Fri Sep 29, 2023 10:33 pm
by dcung

Hi all,

I never used PPA repository before.

I use a software (CCTV-VIEWER) that I installed thru SNAP.
I found that it can be installed thru other ways too.
https://github.com/iEvgeny/cctv-viewer/issues/46

I research a little about PPA and would like to try it. I search on this forum here and also elsewhere. Among articles that I found/read.
https://vitux.com/how-to-add-ppa-reposi ... in-debian/

I tried it in Bullseye and Bookworm. And got the same errors.

2023-09-29-161107_787x231_scrot.png
2023-09-29-161107_787x231_scrot.png (44.19 KiB) Viewed 809 times

.
The file briefly appeared in /etc/apt/sources.list.d/ and then disappeared.
I checked that root has write permission to the location, and just for troubleshooting only - I relax the permission to everyone. Made no difference.
Is there any steps that I missed?


Re: Using PPA repository in Debian Dog

Posted: Sat Sep 30, 2023 1:01 am
by dancytron

You can't follow the Ubuntu instructions. I did it a long time ago. Maybe Jessie.

Here is what I found online which looks vaguely familiar.

https://linuxconfig.org/install-package ... bian-linux

edit: or maybe just do the step manually adding it to the .list file and see if there is a binary .deb file.


Re: Using PPA repository in Debian Dog

Posted: Sat Sep 30, 2023 3:18 am
by dcung

Thanks for the info Dan.
So, it is a little more involved than my capability ... :)

I browsed the PPA structure, didn't look like it has .deb file.

I created a .list file, just for experimenting, to see if I can get the source this way.

Code: Select all

deb-src [trusted=yes] https://github.com/iEvgeny/cctv-viewer debian main

I guess, not gonna go anywhere before I got this resolved.

Code: Select all

root@live:~# apt update
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease             
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease     
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease       
Hit:6 http://deb.debian.org/debian bullseye-proposed-updates InRelease
Get:5 https://github.com/doglinux/bulldog/raw/master/amd64 ./ InRelease [2,301 B]
Ign:7 https://github.com/iEvgeny/cctv-viewer debian InRelease
Ign:8 https://github.com/iEvgeny/cctv-viewer debian Release
Ign:9 https://github.com/iEvgeny/cctv-viewer debian/main Sources
Ign:9 https://github.com/iEvgeny/cctv-viewer debian/main Sources
Ign:9 https://github.com/iEvgeny/cctv-viewer debian/main Sources
Ign:9 https://github.com/iEvgeny/cctv-viewer debian/main Sources
Ign:9 https://github.com/iEvgeny/cctv-viewer debian/main Sources
Ign:9 https://github.com/iEvgeny/cctv-viewer debian/main Sources
Err:9 https://github.com/iEvgeny/cctv-viewer debian/main Sources
  404  Not Found [IP: 20.248.137.48 443]
Fetched 2,301 B in 3s (673 B/s)
Reading package lists... Done
E: Failed to fetch https://github.com/iEvgeny/cctv-viewer/dists/debian/main/source/Sources  404  Not Found [IP: 20.248.137.48 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@live:~# 

Re: Using PPA repository in Debian Dog - CLOSED

Posted: Sat Sep 30, 2023 7:29 pm
by dcung

After more reading and experimenting, I understand a little more now.
Thanks to @dancytron link.

Following the instruction, I can add the repository successfully.
Having got this far, I know now that it will take a lot of effort to get it to install from the repository. Possible...but.. not worth it for me.
(i.e. need to resolve few conflicting libraries).

So, for me, SNAP route or self compiling is still a better/easier choice than repository route.

Still - it is a good learning exercise for me. :)


Re: Using PPA repository in Debian Dog

Posted: Sat Sep 30, 2023 7:36 pm
by fredx181

@dcung About PPA's, they are made for Ubuntu, sometimes may work on Debian, but, from what I experienced, mostly not.