Using PPA repository in Debian Dog

a very small Live CD shaped to look and act like Puppy Linux.

Moderator: fredx181

Post Reply
dcung
Posts: 373
Joined: Fri Sep 25, 2020 4:31 am
Has thanked: 42 times
Been thanked: 51 times

Using PPA repository in Debian Dog

Post 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 579 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?

dancytron
Posts: 656
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 425 times
Been thanked: 191 times

Re: Using PPA repository in Debian Dog

Post 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.

dcung
Posts: 373
Joined: Fri Sep 25, 2020 4:31 am
Has thanked: 42 times
Been thanked: 51 times

Re: Using PPA repository in Debian Dog

Post 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:~# 
dcung
Posts: 373
Joined: Fri Sep 25, 2020 4:31 am
Has thanked: 42 times
Been thanked: 51 times

Re: Using PPA repository in Debian Dog - CLOSED

Post 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. :)

User avatar
fredx181
Posts: 2648
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 293 times
Been thanked: 1041 times
Contact:

Re: Using PPA repository in Debian Dog

Post by fredx181 »

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

Post Reply

Return to “DebianDogs”