You are not logged in.
Thank you very much tdrnetworks! I just tried the ascii builds on two systems and they installed and are working flawless.
### PHP Rebuilds for Devuan Jessie
Would these work for ascii and/or beowulf, or will they need to be rebuild for each release? I guess I could go ahead and try, but I thought I would ask first to save some time now and possible some breakage down the road.
Edit: Curiosity got the best of me so I had to give it a try. I had previously removed the sury packages and replaced with debian php7.3-fpm and had everything working correctly. So I then purged the debian php7.3* packages and then tried to install these packages in a beowulf (mini.iso dated 2-14-20) install which:
root@localhost:/home/craig# apt install php7.3-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
php7.3-fpm : Depends: php7.3-cli but it is not going to be installed
Depends: php7.3-common (= 7.3.15-1+0~20200220.53+devuan1~2.gbp931d08) but it is not going to be installed
Depends: php7.3-json but it is not going to be installed
Depends: php7.3-opcache but it is not going to be installed
Depends: libssl1.0.0 (>= 1.0.1) but it is not installable
E: Unable to correct problems, you have held broken packages.root@localhost:/home/craig# apt policy openssl
openssl:
Installed: 1.1.1d-1+0~20191009.15+debian10~1.gbpd6badf
Candidate: 1.1.1d-1+0~20191009.15+debian10~1.gbpd6badf
Version table:
*** 1.1.1d-1+0~20191009.15+debian10~1.gbpd6badf 100
100 /var/lib/dpkg/status
1.1.1d-0+deb10u2 500
500 http://deb.devuan.org/merged beowulf/main amd64 Packages
500 http://deb.devuan.org/merged beowulf-security/main amd64 Packages
An uninstall and reinstall of openssl using apt did not help this issue, so I will leave it as it is here. I just thought I would let someone else know if they were as curious as I am about this working. If I did something wrong, feel free to let me know.
HOAS,
As usual, you gave of your time to help someone out and it is appreciated. I thank you for this. I will let you know what happened when I gave this a try.
I installed equivs which brought in over 40mb of packages even with the --no-install-recommends command.
opentmpfiles package only exists in the debian bullseye/devuan chimaera repository, so I had to install this with the 'apt -t chimaera install opentmpfiles' command but it installed and brought in no dependencies.
The actual commands of 'equivs-control systemd' and 'equivs-build systemd' worked fine and I had the .deb file ready to install.
I have spent the last 5 years trying to keep systemd off of my machine. Believe me, I got a heart tremor when I ran the command
dpkg -i systemd*.deb
It was then I got these error responses:
root@localhost:/home/craig/temp# dpkg -i systemd*.deb
Selecting previously unselected package systemd.
dpkg: regarding systemd_241-7~deb10u3_amd64.deb containing systemd:
elogind conflicts with systemd
systemd (version 241-7~deb10u3) is to be installed.dpkg: error processing archive systemd_241-7~deb10u3_amd64.deb (--install):
conflicting packages - not installing systemd
Errors were encountered while processing:
systemd_241-7~deb10u3_amd64.deb
So, I removed elogind and it installed the libpolkits* and such. Next command:
root@localhost:/home/craig/temp# dpkg -i systemd*.deb
(Reading database ... 76748 files and directories currently installed.)
Preparing to unpack systemd_241-7~deb10u3_amd64.deb ...
Unpacking systemd (241-7~deb10u3) ...
dpkg: dependency problems prevent configuration of systemd:
eudev (3.2.7-6) breaks systemd (>> 220) and is installed.
Version of systemd to be configured is 241-7~deb10u3.dpkg: error processing package systemd (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
systemd
I don't think that anything named "systemd" (even dummy packages) wants to go on this system! It is times like this I wish I were knew how to build packages in devuan linux!
JXX77,
I'm fairly confident, that this won't work.
It didn't but I wanted to try.
szutt,
I just checked my email and I found a message from sury and I think it was meant for you and not me. With regards to the snippet you mentioned below,
ifeq (devuan,$(DPKG_VENDOR))
ENABLE_SYSTEMD = no
endif
sury replied:
the snippet you supplied won't work because it needs to be applied at compile time.
You can use equivs package and symlink to opentmpfiles-tmpfiles from opentmpfiles package to workaround the dependency.
Can anyone instruct, or elaborate on how to do this? I have never used the equivs package, or opentmpfiles package so right now I am lost. But I will be glad to try any suggestions. I do not see how this will work around the dependency of needing, and thus avoiding, the installation of systemd. But then, I am asking for clarification.
For what it is worth, I will add his (sury - debian packager) last comment in the bug report linked to above:
It's more than enough to have support for Distributions 4 years old. I am not going to complicate code purely on ideological reasons. Devuan needs to supply shims for the non-init parts like systemd-tmpfiles. When (and if) Debian splits systemd-tmpfiles into a separate package and add opentmpfiles, I will happily adapt the packages to use it. Until the time it is what it is.
It wasn't hard, nor did it take too long to remove deb.sury.org packages from my webserver and replace it with debian's packages.
Remove deb.sury packages:
apt remove php* --purge
Alter sources.list file to remove sury's repo line. Then,
apt update
Install php7.3:
apt install php7.3-fpm libapache2-mod-php
So for now, php7.3-fpm is working. I will miss using sury's packages and its capability to easily use different php versions on the same server.
I have not used debian's packages in a few years. I will have to search if they will allow for multiple php versions. Time to start searching.
I just filed a "bug" report about the php packages from deb.sury.org breaking my system. The exchange can be seen here:
But the end result is this:
Yes, the package rely on systemd-tmpfiles.
So, if you are using this repository, you may want to remove it from your sources.list because it will break what you have got.
Hope this helps someone.
A simple question here, but did you run
apt update
after editing your sources.list file and before trying to update?
I mention this as I have overlooked simple things myself, and will again.
Not to get too far off topic about migrating from buster to beowulf...
FSR >
You are correct that network-manager has not been devuanized in beowulf, but I'm not sure if it needs to be done.
You are correct. I just removed the "hold" in apt and did an update. It worked fine. I did have one instance where an important file in NetworkManager was removed because it was "obsolete". I replaced it and it works fine, so, for anyone reading this, backup the contents of /etc/NetworkManager before updating. Better safe than sorry!
The NM update worked fine in going from Beowulf to Ceres also.
Toxic >
I would recommend to install wicd instead of nm as a temporary solution.
I agree about Wicd, but I like using NetworkManager for the VPN gui. It makes the vpn so easy to switch on and off.
Now back on topic...
Also, I would add that Network-Manager has not been devuanized in the Beowulf repository, yet. If I am incorrect, then I appologize, but I was just unaware of this since I have the ascii version marked as "hold" in apt and it has not upgraded. If you install NM from scratch, you can install it from the ascii repository and it will work. I have been using this setup for quite some time.
If you already have it installed and working in buster, then you will probably have to remove it completely and then install it from the ascii repository, preferably after updating everything else.
NM is the only program that I use that has not been devuanized for beowulf, yet. I do not know of any others.
I have been playing with this most of the day. The instructions mentioned here still work, for the most part on a netinst install with no X system. There may be a slight change, but it is still workable. Commands were entered from a ssh session into the Vbox VM as much as possible.
I just successfully completed a migration from debian buster, it was not easy to do. Since I really didn't know what I was doing, I went by trial and error mostly. I am sure there are other ways to do this, but this worked for me. Hopefully, someone who knows more about this can shorten and simplify this migration from buster to beowulf.
I started with the debian v.10 netinst cd (with firmware) and then I installed xfce4 with
apt install xfce4
And I rebooted just so I could be starting from a fresh boot.
Edit: Just today, Sept. 7, 2019, debian updated from 10.0 to 10.1 which brought in a new kernel and 60 upgraded packages. I did a dist-upgrade and reboot to start from a 10.1 starting point.
Boot into "debian",
apt update
apt install sysvinit-core
Do not reboot, yet.
# alter /root/.bashrc and add:
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# logout from this ssh session and login to a new ssh session, this loads the new PATH
Installed devuan-keyring
wget wget http://pkgmaster.devuan.org/devuan/pool/main/d/devuan-keyring/devuan-keyring_2017.10.03_all.deb
dpkg -i devuan-keyring_2017.10.03_all.deb
Alter the sources.list to devuan, and then
apt update
apt upgrade
(I do not know what made me try this, as I was just going on a hunch and trying something else. I was having a hard time getting sysvinit-core installed, especially from the devuan repos. Once I installed it from the debian repos, and updated it from the devuan repos, within the same boot, it worked easier.)
# first reboot
reboot
(takes a long time to boot due to starting dbus. It hangs for ~1-2 minutes
(takes longer to login to either the physical terminal or a ssh session, to both user and root account)
(does not boot to X session, only to terminal, but this was temporary)
apt install eudev
(takes a lot longer to "Process triggers for dbus", ~4 minutes, hangs at "Progress... 96%")
("Failed to open connection to "system" message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.")
# network will not work unless you change interfaces file:
# alter /etc/network/interfaces file to change enp0s3 to:
auto eth0
iface eth0 inet dhcp
# second reboot
reboot
apt install libelogind0
apt remove systemd* --purge
apt remove libnss-systemd --purge
apt remove dbus-user-session --purge
# lightdm was removed earlier, so:
apt install lightdm --no-install-recommends
# at this point, there was some kind of issue with libpolkit-agent-1-0, as it was the only package showing as upgradable:
root@localhost:/home/guest# apt list --upgradable -a
Listing... Done
libpolkit-agent-1-0/testing 0.105-25+devuan4 amd64 [upgradable from: 0.105-25]
libpolkit-agent-1-0/now 0.105-25 amd64 [installed,upgradable to: 0.105-25+devuan4]
# I noticed that policykit-1 was shown as a recommended package to lightdm, so
apt install policykit-1 --no-install-recommends
# and this updated the libpolkit-agent-1-0 package
# probably could have done this earlier, but I finally discarded the unnecessary stuff
apt autoremove
# third reboot
reboot
The end result:
root@localhost:/home/guest# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# no systemd here!
root@localhost:/home/guest# dpkg -l | grep systemd
root@localhost:/home/guest#
# At the Xfce desktop, all logout options appear available and are not greyed out.
# On the Grub boot menu, it says Debian, and an "update-grub" does not fix it.
Sorry, my language is German and the german text was automaticially translated into English.
Thank you for clarifying. I will give it a test run.
AVMultimedia can be purchased here
Link please?
If anyone has any input or suggestions, I would appreciate it.
Available for download?
give "www-data" permissions to Nextcloud but it was given to the whole system, the issue is that I have no idea how to fix that.
Just to be clear did you change the permissions for all files in the operating system or just the files of the nextcloud install? If you did, then I would suggest reinstalling the operating system.
What I do is to make the <user> the files owner and then set "www-data" as the group owner. Then I add the <user> to the "www-data" group. Finally, I change the chmod of the files to 0775 so that both the files owner and www-data group have read and write ability of the files. To do this, I only have a single user system with no other user accounts.
I would be interested in somebody else adding their input on a proper way to set the permissions in a multi-user system. I have spent some time searching the web for similar information but what I have found mentioned is somewhat conflicting. Some say to make the user "www-data" the owner of the files, but I am unsure about that.
There are a lot of tutorials and examples on the 'net. I found this one which is relatively new and it may be of assistance. It is for Debian 10, but it followed closely the steps that I took to install it. The only change is the command to restart the apache service, which the article states as
sudo systemctl restart apache2
but should be
service apache2 restart
The web updater has improved a lot over the past few versions. If I may say so, please remember to back up your NC install (files, data, and database) before updating as it may have mishaps. Good luck with it!
fsr is looking out for your best interests by not giving you any instructions. However, if you are seriously interested in this and don't mind ruining the Debian 10 install that you have, then I will provide you with a link that may, just may, help you out some.
This was done on a minimal install with no X system, and I would change one command from this
apt install sysvinit
to this,
apt install sysvinit-core
Also, backup your debian 10 install before trying this. You will be in untested territory here, so there may not be much help that even could be provided. It will either work, or it won't. Good Luck.
-niXer
when did or will Beowulf become safer to use than ceres
I don't know that there is an "exact" answer to that. However, for me Beowulf took a major turn toward stability a few months ago when libelogind was presented. Since then, I have had only theme (xfce) related problems which were minor. Now, when the Network-Manager packages get sanitized, then I will remove the ascii block on them and then I will be 100% beowulf.
But since Ceres has been working so well for so long, I will only be using my Beowulf partition if and when ceres stumbles.
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 485M 0 485M 0% /dev
tmpfs 100M 340K 100M 1% /run
/dev/vda1 25G 5.2G 20G 21% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 200M 0 200M 0% /run/shm
On the last line I see /run/shm, but no /dev/shm
Devuan lets me work my way up from scratch
I hear you on that. It is my preferred way to build, not desktop install and then removing stuff.
Question, on my desktop, this ps_mem.py works fine. But on another system I get this error. Any ideas on what is missing?
$ sudo ps_mem.py
File "/usr/local/sbin/ps_mem.py", line 448
"%s: Shared memory is not reporte
^
SyntaxError: EOL while scanning string literal
The difference between the two systems is that the one that works is a desktop install. The other is a virtual machine, devuan (ascii) on vultr.
Python is installed:
python is already the newest version (2.7.13-2).
First, backup your data before you do anything so that you can get back to where you are now.
If you have been keeping your install up to date, then you may be surprised to know that there is nothing at all to do. If not, then it may be a rather large update and it may be better to do it from a console outside of an X-desktop. From the destop, press "Ctrl + Alt + F1" to get to a console. When finished, press "Ctrl + Alt + F7" to return to the desktop screen.
I would make sure that your /etc/apt/sources.list file points to the correct repository address at deb.devuan.org, and then do an
apt update
or
apt-get update
then,
apt dist-upgrade
or
apt-get dist-upgrade
If everything works, and it probably will, you are good to go. However, there may be some changes to a configuration file of a package between the beta. rc, and release versions. This could cause a problem.
If you do have a problem, you could try to either uninstall the offending program ("apt remove <program> --purge") and then reinstall. This could be tricky depending on dependencies, so use caution. Another possible option would be to use "dpkg-reconfigure <program>" instead of --purge. These two methods will rebuild the configuration file of a program.
If something breaks and it becomes unusable, then reinstall. It is not that big of a deal, especially if you have your system (/home folder) backed up. Refracta-tools is your friend here, along with rsync. Again, backup your data before changing anything, especially if it will be a large update.
I have a feeling that you have been keeping your system up to date and then there is probably nothing that you need to do. But I would make sure that the correct url address is present in the sources.list file and change this if needed.
I just did a quick search for "devuan" in google and all the hits on the first page were directly related to devuan not debian.
As a matter of fact, I see this as a direct improvement over the past as usually it will have a line just under the search entry stating somethine like, "Did you mean debian?" And even this did not show. This means to me that google is allowing for a greater divergence between the two.
Not disagreeing with you, just reporting what I see on google where I am at.
Just to include a quick check to duplicate what haary, the original poster, is reporting. I have a jessie server operational using the deb.devuan.org address in my sources.list which has not received any updates in a while and it too reports that
root@Am-VPN:/etc/apt# apt-get update
...
All packages are up to date.
However, when I change the url in the sources.list file to "auto.mirror.devuan.org", it shows updates available:
The following packages will be upgraded:
libjs-jquery libsystemd0 libudev1 udev wget
So, the old "auto.mirror.devuan.org" address is showing updates available, while the newer "deb.devuan.org" is showing no updates available. "https" in the url is not even involved here.
As an example using the program wget, which is shown as one of the programs that could be upgraded - with deb.devuan.org no upgrade is showing:
root@Am-VPN:/etc/apt# apt-cache policy wget
wget:
Installed: 1.16-1+deb8u5
Candidate: 1.16-1+deb8u5
Version table:
*** 1.16-1+deb8u5 0
500 http://deb.devuan.org/merged/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
However, using "auto.mirror.devuan.org", it does pick up the upgradeable program:
root@Am-VPN:/etc/apt# apt-cache policy wget
wget:
Installed: 1.16-1+deb8u5
Candidate: 1.16-1+deb8u6
Version table:
1.16-1+deb8u6 0
500 http://auto.mirror.devuan.org/merged/ jessie-security/main amd64 Packages
*** 1.16-1+deb8u5 0
500 http://auto.mirror.devuan.org/merged/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
It appears that deb.devuan.org is not picking up the jessie-security updates section of the repo. This is my sources.list. I alternated between the two url addresses, of course.
deb http://deb.devuan.org/merged/ jessie main contrib non-free
#deb http://auto.mirror.devuan.org/merged/ jessie main contrib non-free
deb http://deb.devuan.org/merged/ jessie-security main contrib non-free
#deb http://auto.mirror.devuan.org/merged/ jessie-security main contrib non-free
deb http://deb.devuan.org/merged/ jessie-updates main contrib non-free
#deb http://auto.mirror.devuan.org/merged/ jessie-updates main contrib non-free
I do not know, but I am wondering if this is a related issue?
This link to the main amprolla file shows this at the bottom:
2019/04/21 14:45:47 [WARN] http://deb.debian.org/debian/dists/bust … ents-arm64 failed: 404
2019/04/21 14:45:47 [WARN] http://deb.debian.org/debian/dists/bust … 28x128.tar failed: 404
2019/04/21 14:45:49 [WARN] http://deb.debian.org/debian/dists/bust … -amd64.yml failed: 404
2019/04/21 14:45:54 [WARN] http://deb.debian.org/debian/dists/bust … ps64el.yml failed: 404
2019/04/21 14:49:40 [WARN] http://deb.debian.org/debian/dists/stre … ce/Sources failed: 404
2019/04/21 14:49:40 [WARN] http://deb.debian.org/debian/dists/stre … nts-source failed: 404
2019/04/21 14:49:43 [INFO] Total incremental update time: 582.1237125396729
2019/04/21 14:50:08 [INFO] Total incremental update time: 7.0341596603393555
2019/04/21 14:55:04 [INFO] Total incremental update time: 2.9968421459198
2019/04/21 15:00:14 [INFO] Total incremental update time: 12.597147226333618
2019/04/21 15:05:04 [INFO] Total incremental update time: 3.4688239097595215
2019/04/21 15:10:04 [INFO] Total incremental update time: 2.7986111640930176
2019/04/21 15:15:05 [INFO] Total incremental update time: 4.079205751419067
Many, if not all packages currently show a "failed: 404", meaning, file is not found.
On my systems it shows no updates available so it does not try to download anything. However, I have also tried to update a beowulf and ceres install with no updates showing as available. Having no updates available for ceres (or beowulf) over a three day period is highly unusual. This could be that my systems were up to date when things went away. With the absence of no official word, I am merely offering one possible explanation.
It looks like you were able to do an upgrade in devuan while running systemd.
Actually, you may be are correct. I did not notice that. I think you are referring to the first "apt upgrade", yes that was while using systemd. I thought that would only pull in the stuff that was not requiring systemd. In total, there were only 10 or 12 packages pulled in. I just had to find a good step by step so that apt could do it right.
fsr > In case you are interested, I will email you the note that I made of the steps and terminal output. I finally got it to work one time and I did it again, step by step, to make sure that the steps were correct.
I really was not expecting it to work at all. Before this test, I also did a stretch to ascii migration and it was much easier.
I haven't read anything on a debian buster to devuan beowulf migration anywhere. I was wondering if it was possible. So, not having much to do today, I thought I would give it a try. To my surprise, it did work, utilizing a minimal install. It was not quite as simple as a single "apt dist-upgrade" command, but I did get it to work using a trial and error "path". I do not claim this to be clean or as simple as it could be, like a jessie to jessie migration, or even a stretch to ascii migration. I only wanted to report that it did work, and these are the steps on how it was done. I have all the terminal output saved if anyone is interested in seeing, improving, or simplifying this method.
This was done in virtualbox. I installed the debian buster "testing" iso file (with firmwares) located at:
https://cdimage.debian.org/cdimage/unof … 64/iso-cd/
I then connected to this VM through ssh so that I could copy from and paste into a terminal window. This was easier than using the vm window.
From this debian install, I made only the following changes:
- installed net-tools, to display ip address
apt install net-tools
- export PATH to /root/.bashrc by adding:
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
I then started the migration to devuan:
- changed sources.list to devuan, left only the one beowulf main entry
- installed devuan-keyring with
dpkg -i devuan-keyring_2017.10.03
- then ran these commands:
apt update
apt upgrade
apt install eudev
apt -f install
apt install sysvinit
reboot
apt dist-upgrade
-altered /etc/network/interfaces file
change these two lines from,
allow-hotplug enp0s3
iface enp0s3 inet dhcp
-to-
auto eth0
iface eth0 inet dhcp
-then updated grub to change Debian to Devuan
update-grub
- purge systemd with
apt remove systemd --purge
apt remove libnss-systemd --purge
apt install libelogind0
to see that all is well.
reboot
Finally, the command
dpkg -l | grep systemd
produces no output. No systemd here!!
I distinctly remember reading three or four years ago that the ability to migrate from a debian to devuan install may not be possible in the future. I don't think that day is here, yet.