ArmbianHelper changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum feed: #armbian-rss | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
Tenkawa has quit [Quit: Was I really ever here?]
<DC-IRC>
<JTode> Hey all, I just built snapcast from source and created deb packages, but when I attempt `sudo apt install ./snapclient_blahblah.deb` it says "Note, selecting "snapclient" instead of blah blah.
<DC-IRC>
<JTode> Is there a switch to force it to install the up-to-date package I just built? Did not have this issue on regular debian, haven't encountered apt refusing to install when you give it a specific path.
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian
<archetech>
paths are built in the pkg
<archetech>
and whats the ./ for
<archetech>
a pkg isnt a executable
jclsn has quit [Ping timeout: 246 seconds]
jclsn has joined #armbian
buzzmarshall has quit [Quit: Konversation terminated!]
<jspiros>
JTode: dpkg is the program that actually installs packages, apt uses dpkg as needed but its purpose is retrieving packages from the various apt sources you have configured
<jspiros>
JTode: apt also handles figuring out and retrieving dependencies, so if you bypass it try to ensure you have all the dependencies already installed
<jspiros>
JTode: that all said, "dpkg -i whatever.deb" is probably what you want
<jspiros>
(as root/using sudo, of course)
Tobarja has quit [Ping timeout: 245 seconds]
smcavoy16518 has joined #armbian
smcavoy1651 has quit [Read error: Connection reset by peer]
smcavoy16518 is now known as smcavoy1651
Tobarja has joined #armbian
Tobarja has quit [Ping timeout: 264 seconds]
p0g0_ has joined #armbian
p0g0 has quit [Ping timeout: 240 seconds]
Tobarja has joined #armbian
crabbedhaloablut has joined #armbian
hbbs has quit [Quit: bye]
hbbs has joined #armbian
lemonzest has quit [Quit: WeeChat 4.0.4]
lemonzest has joined #armbian
<DC-IRC>
<happy1996> I am facing some issues.. it's unofficial but armbian related.. can I ask it here? I just need suggestions..
califax has quit [Remote host closed the connection]
califax has joined #armbian
<DC-IRC>
<Werner> Try either forums or #ID:854735915787878463 . We usually don't waste our time with 3rd party builds since their contents are unknown
junaid_ has joined #armbian
<DC-IRC>
<happy1996> Okay thank you
p0g0_ has quit [Ping timeout: 248 seconds]
p0g0 has joined #armbian
junaid_ has quit [Remote host closed the connection]
junaid_ has joined #armbian
junaid_ has quit [Remote host closed the connection]
oida has joined #armbian
p0g0_ has joined #armbian
p0g0 has quit [Ping timeout: 252 seconds]
ced117 has quit [Ping timeout: 246 seconds]
ced117 has joined #armbian
archetech has quit [Quit: Leaving]
<jspiros>
DC-IRC seems to not support something, unless long integers like this make sense to others <DC-IRC> <Werner> Try either forums or #ID:854735915787878463 . We usually don't waste our time with 3rd party builds since their contents are unknown
jclsn has quit [Ping timeout: 260 seconds]
jclsn has joined #armbian
<DC-IRC>
<Werner> Seems like it does not translate channel names even if they are known. Minor issue I'd say
danilogondolfo has joined #armbian
oida has quit [Ping timeout: 240 seconds]
Tenkawa has joined #armbian
TheCoffeMaker has quit [Ping timeout: 244 seconds]
<DC-IRC>
<JTode> ./ is typically how to specify to a *nix system that you want to operate on a specific file rather than a file it finds automatically in the path. It is not only for executables.
oida has joined #armbian
<DC-IRC>
<tenkawa42> ./ is very useful if your $
<DC-IRC>
<tenkawa42> er $PATH finds x* same files
<DC-IRC>
<tenkawa42> especially with +x
<DC-IRC>
<tenkawa42> That can lead to very annoying results
buzzmarshall has joined #armbian
JyZyXy has quit [Ping timeout: 240 seconds]
<jspiros>
Werner: I was just wondering what you said, as I otherwise have no idea with that weird ID stuff
<jspiros>
I assume the "#" part was in the original, then, if it's a reference to a channel
<jspiros>
so it just translated some internal name to "ID:#"
<jspiros>
as for using ./ to avoid the shell seeking things in $PATH, that's true for the first word/token sent to the shell, but whether arguments to commands are going to search $PATH is really down to the program/command being run, and most programs do not do anything like that for their arguments
<jspiros>
and in the case of "apt install whatever", I'm pretty sure apt does not look at $PATH to resolve what "whatever" means, it just treats it as a string to search its cache of the various configured apt sources
<jspiros>
I'm not actually sure as I haven't checked apt's source code to be 100% sure, but it would frankly be kind of odd for it do that
<jspiros>
the contents of the $PATH environment variable is generally only used by shells, and shells mostly leave simple arguments sent to commands unchanged/unprocessed
alekksander has joined #armbian
<DC-IRC>
<JTode> I need to go back and look again at my install process on the Debian machine now, because I'm not honestly sure it didn't do the same thing there.
<DC-IRC>
<JTode> That being said, I also just noticed that Armbian's package seems to be the same version I just compiled, so in actuality it doesn't matter. I was assured by some random post I read when I set out to get into snapcast the other day that Debian's package was unusably old so I just took for granted that I should not even bother trying it, but either that was a lie or else Armbian i <clipped message>
<DC-IRC>
<JTode> s more on point about snapcast. :>
<jspiros>
when talking about Debian stable releases, people often start to grumble about things being too out of date, but there was a relatively recent new release of Debian, which the latest Armbian release is based on
<jspiros>
so things shouldn't be too out of date just yet :)
<DC-IRC>
<JTode> Yah, I just switched back to Debian as my default, while I sometimes cheat on it with Arch. In this case, I'm attempting to squeeze some use out of an old Tinkerboard, and it seems that I am gonna need to start the whole thing over because alsa seems to be absent from the bookworm release. The multimedia package seems to only be available for Buster. So, I am probably going to en <clipped message>
<DC-IRC>
<JTode> d up using that dpkg after all. I just hate using dpkg. I suppose I could just create a local repo with those .deb packages and add it to my apt, I could do that. I haven't done that before, I think I will.
<DC-IRC>
<JTode> Anyways, cheers, and thanks for all the good work, a general-purpose Arm OS that is not tied to a single board was sorely needed.
<DC-IRC>
<tyro> Hey guys does anyone know the status for Orange Pi 3b?
<DC-IRC>
<rpardini> Yeah, whats the question?
<DC-IRC>
<tyro> Does NVME work?
<DC-IRC>
<tyro> And have you tried to install DietPi on top of armbian for opi3b
<DC-IRC>
<rpardini> Yes NVMe works in general. Some devices are too power hungry and might fail under load.
<DC-IRC>
<rpardini> No DietPi here.
califax has joined #armbian
<DC-IRC>
<tyro> Ok well I'm wanting to make a nas with the 2gb I received yesterday
<DC-IRC>
<tyro> Maybe I should go powered usb3 dock with SSD instead?
<DC-IRC>
<rpardini> That's up to you to test. You might have success with a PCIe-to-SATA adapter.
<DC-IRC>
<tyro> Thank You
oida has quit [Quit: byez]
lyri has joined #armbian
zeemate has joined #armbian
<DC-IRC>
<tenkawa42> jspiros: no.. $PATH is used by "every" executable run... shell or otherwise
<DC-IRC>
<tenkawa42> You may not see it explicitly but it is defined
* jspiros
sighs
<DC-IRC>
<tenkawa42> How do you propose using a binary interactively without a shell?
<jspiros>
$PATH is used by the shell process to determine /what/ executable to run
<DC-IRC>
<tenkawa42> That's exactly what I said earlier
<jspiros>
whether a given executable itself reads the PATH environment variable and does something with it is what I was talking about
<DC-IRC>
<tenkawa42> or can you not read
<jspiros>
almost all executables normal people encounter are not going to read the PATH environment variable themselves and do anything with it, let alone use it to interpret the args the shell passes to it
<DC-IRC>
<tenkawa42> almost != all so stop assuming.... rule #1
<jspiros>
and most shells I'm aware of generally don't utilize the PATH environment variable's contents to transform the arguments passed to programs
<DC-IRC>
<tenkawa42> wrong
<jspiros>
yes, tenkawa42, I included the word "almost" before "all" because I know what "almost" means
<DC-IRC>
<tenkawa42> $PATH is used very frequently so is $@ which also is a dual edge
<jspiros>
honestly, tenkawa42, I think you're not fully reading what I'm saying, like you're skipping many of the words or something
<jspiros>
I said "to transform the arguments passed to programs"
<jspiros>
you certainly can pass $PATH itself as an argument if you want
<DC-IRC>
<tenkawa42> the args are passed via $@
<DC-IRC>
<tenkawa42> but it can be dangerous
<jspiros>
shells generally just pass arguments on unmodified, outside of some features that require special notation
<DC-IRC>
<tenkawa42> unless you want to pass them with fixed vars $1 $2 $a $b etc
<jspiros>
but simple strings and the like generally (again, a shell can do whatever it wants, I'm speaking of the most commonly used shells) just get passed as-is, and aren't assumed to be executables themselves (which is what $PATH is for)
<jspiros>
the example given was "apt install ./some-file.deb", there's no reason the second argument to apt would be pre-processed by the shell, or involve $PATH, at all
<jspiros>
whether "./" was included or not
<DC-IRC>
<tenkawa42> yes.. I was agreeing with you... ./ enforces PWD
<DC-IRC>
<tenkawa42> but apt has built in code to check
<DC-IRC>
<tenkawa42> it looks anyway
<jspiros>
honestly, tenkawa42, between this and a conversation we had last week I wonder if you're just very over-confident without knowing the interworking of things or if you're a very dedicated troll :)
<jspiros>
though I'm mostly just hoping that English isn't your first language and it's language compatibility issues that we keep running into
<DC-IRC>
<tenkawa42> E: read, still have 8 to read but none left
<DC-IRC>
<tenkawa42> E: Internal error, could not locate member control.tar{.zst,.lz4,.gz,.xz,.bz2,.lzma,}
<DC-IRC>
<tenkawa42> E: Could not read meta data from /root/test.deb
<DC-IRC>
<tenkawa42> E: The package lists or status file could not be parsed or opened.
<DC-IRC>
<tenkawa42> note without the ./ it cannot find the deb
<jspiros>
that has nothing to do with $PATH
<jspiros>
apt assumes you're talking about a package name unless the argument contains a string that looks like a path
<jspiros>
it has no reason to look at the PATH environment variable to determine that
<DC-IRC>
<tenkawa42> I never said it did... you did..
<DC-IRC>
<tenkawa42> I was never talking specificly about "apt only"... I was talking about Unix utilities that read environment variables and use them. You are the one hung up on apt...
<jspiros>
...
<jspiros>
I only mentioned apt as an example while talking about the environment variable PATH, and in response to your spammy paste of your running apt
<jspiros>
I've just been talking about the PATH environment variable and how most programs do not use it for anything, as it's primarily useful to shells
<jspiros>
(or programs that spawn other programs in a similar manner to shells)
<jspiros>
as I said earlier, [2023-09-26T12:58:15-0400] <jspiros> whether a given executable itself reads the PATH environment variable and does something with it is what I was talking about
<DC-IRC>
<tenkawa42> I never said I was running apt.... what are you on?
<jspiros>
you just spammed the channel with a log of apt being run with different arguments
<jspiros>
six or seven minutes ago
<DC-IRC>
<tenkawa42> jspiros: and your rambling had no relevance to anything
<jspiros>
if you don't want to chat, that's fine, it would probably improve the atmosphere :)
<DC-IRC>
<tenkawa42> I was agreeing with what someone said last night and you've done nothing but cause trouble since.
<jspiros>
at the moment I have nothing to talk about except responding to you
<jspiros>
I don't know what trouble you perceive as having been caused, but okay
<jspiros>
I recommend relaxing and improving your attitude
<jspiros>
you sound very stressed out
Dagger has quit [Ping timeout: 240 seconds]
Dagger has joined #armbian
<DC-IRC>
<shtripok> I run `./compile.sh conf BOARD= BRANCH=edge kernel` hoping to see TUI board chooser, but got `error! [ No such BOARD ''; no board config file found. ]`
<DC-IRC>
<shtripok> where my fancy bord choosing menu?
<DC-IRC>
<shtripok> I run `./compile.sh conf BOARD= BRANCH=edge kernel` hoping to see TUI board chooser, but got `error! [ No such BOARD ''; no board config file found. ]`
<DC-IRC>
<shtripok> where my fancy board choosing menu?
<DC-IRC>
<rpardini> I'm not sure but I think TUI is only for no-command or `build` command, not `kernel`
<DC-IRC>
<shtripok> @rpardini you right!
<DC-IRC>
<shtripok> Thank you!
jclsn has quit [Quit: WeeChat 4.0.4]
jclsn has joined #armbian
jclsn has quit [Client Quit]
jclsn has joined #armbian
jclsn has quit [Client Quit]
jclsn has joined #armbian
jclsn has quit [Client Quit]
jclsn has joined #armbian
jclsn has quit [Client Quit]
jclsn has joined #armbian
jclsn has quit [Client Quit]
jclsn has joined #armbian
jclsn has quit [Client Quit]
<mkrawczuk>
Hi!
alekksander has quit [Quit: Konversation terminated!]
<juri_>
hello!
arch3r has quit [Quit: bye]
arch3r has joined #armbian
HerculeP has joined #armbian
Herc has quit [Ping timeout: 260 seconds]
sevan has quit [Ping timeout: 240 seconds]
archetech has joined #armbian
archetech has quit [Quit: Leaving]
zeemate has quit [Ping timeout: 260 seconds]
danilogondolfo has quit [Remote host closed the connection]