SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The following change was made since the first 2.9 update:
[Crash] While looking for plane tickets on various booking sites (VB-57662)
Upgraded Chromium to 78.0.3904.92
[Linux] Update third party media libs and ensure they have correct permissions (VB-59413)
Some IMEs are no longer working, e.g. Yahoo IME: fixed by Chromium update below (VB-59490)
Upgraded Chromium to 78.0.3904.99
Last edited by mats_b_tegner; 11-08-2019 at 08:47 AM.
Will this work via the "Custom UI modifications" setting? (enabled in vivaldi://experiments/). If yes, you can avoid editing the vivaldi code directly.
That does indeed work. My only issue with it is that now I need to find a place to put any custom css files. Maybe if it were integrated into Vivaldi itself, like say a default 'custom.css' somewhere in ~/.config/vivaldi and editable (with some syntax highlighting ) from the 'Settings' it would be more appealing.
In the end, it doesn't make much sense to create a custom.css and find a location to store it for the one mod that I do.
But you have to do this one mod after every upgrade.
Meh. For me, I don't use Vivaldi regularly enough to worry about upgrades. Then I only have it on my testrig, so it gets wiped out regularly.
Like I said, Maybe if it were integrated into Vivaldi itself, like say a default 'custom.css' somewhere in ~/.config/vivaldi and editable from the 'Settings' it would be more appealing.
I'm not sure I understand what you are talking about. The latest script is a repacking script, i.e. it is basically a SlackBuild. No SlackBuild in the world (AFAIK) registers a pkg in /var/log/packages, that is the job of Pkgtools during installation of the created package.
I understand and agree with you. When using the script, the slackbuild was built. I then used installpkg to install the package, but for some reason it didn't register in /var/log/packages. As a result, when attempting to removepkg, an error was generated that was "no package found in /var/log/packages". However, when running removepkg in the directory where I stored the slackbuild it did remove the files. All I can think is that the script failed to register in /var/log/packages, or is that a responsibility the install/remove/upgradepkg tools?
FYI, there are a couple of tools which will build a slackbuild script and then also install what was built, like sbotools and sboui.
I understand and agree with you. When using the script, the slackbuild was built. I then used installpkg to install the package, but for some reason it didn't register in /var/log/packages. As a result, when attempting to removepkg, an error was generated that was "no package found in /var/log/packages". However, when running removepkg in the directory where I stored the slackbuild it did remove the files. All I can think is that the script failed to register in /var/log/packages, or is that a responsibility the install/remove/upgradepkg tools?
FYI, there are a couple of tools which will build a slackbuild script and then also install what was built, like sbotools and sboui.
Cheers,
The same thing has happened to me more than a few times with different packages.
Have you tried using pkgtool to remove it?
Sometimes a package name is strange and I use pkgtool to look for and remove it.
I understand and agree with you. When using the script, the slackbuild was built. I then used installpkg to install the package, but for some reason it didn't register in /var/log/packages. As a result, when attempting to removepkg, an error was generated that was "no package found in /var/log/packages".
Are you giving the correct package name? i.e. vivaldi-stableNOT vivaldi?
The SBo SlackBuild creates a package of the name vivaldi, while my script creates one named vivaldi-stable (like the official rpm/deb packages we produce). I had considered changing this but in the end I never really thought about it again.
Quote:
Originally Posted by ruario
I see that the SlackBuild from SBo uses the naming scheme vivaldi-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE while I use vivaldi-$VIVALDI_STREAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE (similar to the official rpm and deb packages). This means of course that an upgrade from one to the other would not be automatic. You would need the oldpackagename%newpackagename trick with upgradepkg. I might update my script to conform to what the SlackBuild does (since that was out first) but I need to think about that, since I also like the idea of being similar to the official (rpm/deb) package naming. Anyway, if I do make such a change it will have to be another time since I am done for the day.
For now at least it is something to bear in mind if you do upgrade from a package made by the SlackBuild.
Alternatively, are you running -current where the location would be /var/lib/pkgtools?
Quote:
Originally Posted by bamunds
However, when running removepkg in the directory where I stored the slackbuild it did remove the files.
If removepkg is able to find all the files associated with vivaldi, then there are in the log, plain and simple, as it uses the log to find the files.
FYI, there are a couple of tools which will build a slackbuild script and then also install what was built, like sbotools and sboui.
Yes but they are tools that call the slackbuild and them call pkgtools. That is not the same as the slackbuild itself being responsible for creating log file entries and bypassing pkgtools altogether.
Yes but they are tools that call the slackbuild and them call pkgtools. That is not the same as the slackbuild itself being responsible for creating log file entries and bypassing pkgtools altogether.
I'm confused by the statement, it isn't making logic. If sbotools and sboui call the slackbuild, then why wouldn't slackbuild creating log file entries for insertion to /var/log/packages? Either way it seems the slackbuild, unmodified by sbotools and sboui, should create the log file.
As for the previous questions. this is on 14.2 using latest-vivaldi.sh, not -current. ls /var/log/packages/vivald* found no packages indicating neither vivaldi or vivaldi-stable were reported to /var/log/packages. Assuming I correctly understand that the pkgtools (install/remove/upgradepkg) all record to /var/log/packages and /var/log/removed_packages, but my understanding can certainly be corrected, then I'm not sure why removepkg wasn't able to find and remove the vivaldi-stable unless it was missing from /var/log/packages.
I truly appreciate your help and information. I'm now using vivaldi from SBo installed with sbotools and everything is working properly. I've decided to not use latest-stable.sh, partly because the script is lengthening, as allowed, the slackware way of naming the package and maybe that is confusing my pkgtools.
I'm confused by the statement, it isn't making logic. If sbotools and sboui call the slackbuild, then why wouldn't slackbuild creating log file entries for insertion to /var/log/packages? Either way it seems the slackbuild, unmodified by sbotools and sboui, should create the log file.
Open any SlackBuild and look for references to /var/log/packages (or /var/lib/pkgtools) and you will find nothing because they are not involved in logging. All they do is prepare a staged copy of installable files and then call makepkg to create a compressed tar archive (Slackware package). Utilities like sbotools call the relevant SlackBuild, wait for it to complete and then call ‘upgradepkg --install-new’ with the final package name. upgradepkg in turn calls (optionally) removepkg and then installpkg. It is installpkg that makes the package log based on a listing of its contents from the output of a tar extraction (with the ‘v’ option).
So the install log is effectively created by tar (via installpkg), not the SlackBuild. It does not matter if you think this does not sound logical, you or anyone else can verify this by reading the source code for each of these (they are all just bash scripts).
Quote:
Originally Posted by bamunds
As for the previous questions. this is on 14.2 using latest-vivaldi.sh, not -current. ls /var/log/packages/vivald* found no packages indicating neither vivaldi or vivaldi-stable were reported to /var/log/packages.
removepkg uses the contents of “/var/log/packages/$PKGNAME” to remove files. If /var/log/packages/vivald* returned nothing then removepkg simply could not remove the package and yet…
Quote:
Originally Posted by bamunds
However, when running removepkg in the directory where I stored the slackbuild it did remove the files.
Once again, you can verify how removepkg works by reading the script yourself.
Quote:
Originally Posted by bamunds
I'm not sure why removepkg wasn't able to find and remove the vivaldi-stable unless it was missing from /var/log/packages.
And yet it did remove it, as you said yourself (previous quote above)
Quote:
Originally Posted by bamunds
because the script is lengthening, as allowed, the slackware way of naming the package and maybe that is confusing my pkgtools.
Have a quick check in /var/log/packages and see how many official packages are named like so: something-something-$VERSION-$ARCH-$BUILD$TAG
I put to you, that either you are doing something wrong or your system is broken. If there was actually an issue here with latest-vivaldi.sh somehow failing to create a /var/log/packages entry, don't you think that at least one other person in this thread (that is now 20 pages long) would have mentioned it?
I put to you, that either you are doing something wrong or your system is broken. If there was actually an issue here with latest-vivaldi.sh somehow failing to create a /var/log/packages entry, don't you think that at least one other person in this thread (that is now 20 pages long) would have mentioned it?
I checked my /var/log/packages and Vivaldi is there on 14.2 [and -current].
I know there has been some concern in this thread with regards to network connections that Vivaldi makes back to our domains or those owned by Google. If you would like to better understand what is going on, this blog post by my colleague Yngve might help you put your mind at rest: Decoding network activity in Vivaldi
I checked my /var/log/packages and Vivaldi is there on 14.2 [and -current].
On my primary work machine I don't usually use “install” Vivaldi in a traditional sense, since I have (currently) 1095 different versions available to run at the same time (for regression testing).
However, I have just run the script normally and with “VIVALDI_STREAM=snapshot” defined and installed the resultant packages. This is a 14.2 machine. Sure enough I have these entries:
Code:
$ ls -l /var/log/packages/vivaldi*
-rw-r--r-- 1 root root 38523 Nov 7 14:53 /var/log/packages/vivaldi-snapshot-2.9.1719.3-x86_64-1ro
-rw-r--r-- 1 root root 32777 Nov 7 14:53 /var/log/packages/vivaldi-stable-2.9.1705.38-x86_64-1ro
I know there has been some concern in this thread with regards to network connections that Vivaldi makes back to our domains or those owned by Google. If you would like to better understand what is going on, this blog post by my colleague Yngve might help you put your mind at rest: Decoding network activity in Vivaldi
I apologize for taking your time on this topic and mean no disregard to your knowledge, script or explanations. I know the slackbuild only makes the package and pkgtools writes to /var/log/packages. The one incident I asked about must be a user error. Thank you for the timely support and help. Cheers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.