The officially official Devuan Forum!

You are not logged in.

#227 Desktop and Multimedia » [SOLVED] Firefox 60 (ESR) poor print quality » 2018-12-04 18:19:24

pcalvert
Replies: 14

When I print a web page to a PDF file using Firefox, the print quality is inconsistent. Sometimes the text is okay, but other times it's jagged-looking and barely readable. Has anyone else encountered this problem?

BTW, I had the same problem in Firefox 52 (ESR), and I was hoping that the problem wouldn't still be there in the newer version. As a workaround, I've been using Chromium, which prints to PDF just fine.

Note: The problem may possibly be related to this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=932289

Phil

#228 Re: Other Issues » (Un)Limited TTL for mirror Release files » 2018-11-28 17:08:04

Dutch_Master wrote:

A few weeks ago I made the decision to switch over to Devuan instead. Regrettably, for a novice the default DE is too spartan, so I wanted Mate instead. But that can't be installed from the install DVD (missing policykit packages) as well as quite a few machines can't boot from DVD at all.

Why don't you connect a DVD drive via USB? You won't need to boot from it since you'd only be pulling packages from the DVD(s). And, yes, it can be done because that's what I used to do for an old laptop that wouldn't reliably boot from a DVD, even though it had a DVD-ROM drive. With this solution, installing the additional packages from the DVD(s) would need to be done post-installation.

Here's the command you would need to make this work:

# apt-cdrom -d <path-to-the-USB-DVD-drive>

After installation and set-up is complete, you would need to edit sources.list to remove the reference(s) to the DVD(s).

Phil

#229 Re: Other Issues » Frequent aptitude upgrade error » 2018-11-28 15:54:13

I did a little more detective work on this today. I found three packages from Jessie that were, for some reason, never removed when I upgraded to ASCII.

$ apt-show-versions -u
remmina:i386/ascii-backports 1.1.1-2 upgradeable to 1.2.32.1+dfsg-1~bpo9+1
remmina-common:all/ascii-backports 1.1.1-2 upgradeable to 1.2.32.1+dfsg-1~bpo9+1
remmina-plugin-rdp:i386/ascii-backports 1.1.1-2 upgradeable to 1.2.32.1+dfsg-1~bpo9+1

After removing them the problem seems to have gone away, at least for now.

Phil

#230 Re: Other Issues » Frequent aptitude upgrade error » 2018-11-21 11:41:39

golinux wrote:

Thank you for the suggestion. Yes, I did, and the problem remains.

Phil

#231 Other Issues » Frequent aptitude upgrade error » 2018-11-21 06:38:22

pcalvert
Replies: 4

I often encounter this error when using aptitude to upgrade my Devuan ASCII system:

# aptitude update && aptitude upgrade
Get: 1 http://pkgmaster.devuan.org/merged ascii InRelease [25.6 kB]
Get: 2 http://pkgmaster.devuan.org/merged ascii-updates InRelease [25.6 kB]
Get: 3 http://pkgmaster.devuan.org/merged ascii-security InRelease [24.9 kB]
Get: 4 http://pkgmaster.devuan.org/merged ascii-backports InRelease [25.6 kB]
Hit http://download.virtualbox.org/virtualbox/debian stretch InRelease
Get: 5 http://pkgmaster.devuan.org/merged ascii-backports/main i386 Packages [510 kB]
Get: 6 http://pkgmaster.devuan.org/merged ascii-backports/main amd64 Packages [516 kB]
Fetched 1,128 kB in 7s (148 kB/s)                                                                                                                             
                                         
Resolving dependencies...                
Internal error: found 2 (choice -> promotion) mappings for a single choice.
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

If I comment out backports and try again, the problem goes away. My guess is that someone has messed up and did not properly rename one of the packages in backports. Of course, I could be wrong. Any thoughts?

Phil

#232 Re: Documentation » HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable) » 2018-11-13 00:23:27

I thought I should post a follow-up to my previous message to explain my situation a little better. Back in 2017 I created a customized live CD based on Debian Jessie, but without systemd. While testing my live CD, I discovered that the "Restart" and "Shut Down" buttons in Xfce were not working properly. Since I built my live CD with "Recommends" (recommended packages) disabled, I figured that I must be missing some semi-important package(s). After a little research, I guessed that installing policykit-1 might fix the problem, and I was right.

To reiterate, this solution worked for me:

# aptitude update
# aptitude install policykit-1

That's it!

That systemd-free Debian Jessie was installed in a VM, and later on it was dist-upgraded to Devuan ASCII. The upgrade went smoothly, and afterward LightDM continued to work normally. I don't know what the best solution to this problem is, but I thought I should chime in with my experience in case the information is helpful to someone.

Phil

#233 Re: Documentation » HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable) » 2018-11-11 02:58:13

fred43 wrote:

Step 1:
Check that
   libpam-elogind, elogind, libelogind0, libpolkit-backend-elogind-1-0,
   libpolkit-gobject-elogind-1-0 and policykit-1
is *installed*.

I am using LightDM and I don't have those packages installed, except for policykit-1. I am also using Xfce, and the "Restart" and "Shut Down" buttons work fine. Is there something else broken that I've missed?

Phil

#234 Re: Other Issues » [SOLVED] Strange aptitude error: "...ifstream (13: Permission denied)" » 2018-06-07 09:10:00

Hi devuser,

Thank you for your efforts to try to determine possible causes for this error. Your reply prompted me to think more intensively about other possible causes for the error message, so it was definitely helpful.

I found the culprit: VirtualBox. I recently upgraded a Debian Stretch VM to Devuan ASCII. I created the new sources.list on the host system, and copied it to the guest via a shared directory. That's how the permissions got changed. Oddly enough, when I copied a test file from the guest to the host, via the same shared directory, the permissions were not changed. From now on, I'll have to remember to tar or zip files before copying them to guest systems.

Phil

#235 Other Issues » [SOLVED] Strange aptitude error: "...ifstream (13: Permission denied)" » 2018-06-07 03:32:59

pcalvert
Replies: 3

OS: Devuan ASCII

Error messages:

$ aptitude install gtk2-engines -s
E: Opening /etc/apt/sources.list - ifstream::ifstream (13: Permission denied)
E: Opening /etc/apt/sources.list - ifstream::ifstream (13: Permission denied)
E: The list of sources could not be read.

$ aptitude search gtk2-engines
E: Opening /etc/apt/sources.list - ifstream::ifstream (13: Permission denied)
E: Opening /etc/apt/sources.list - ifstream::ifstream (13: Permission denied)
E: The list of sources could not be read.

This appears to be the reason:

-rwxrwx--- 1 root root  227 Apr 22 00:56 sources.list

(Something changed the permissions for sources.list.)

An older copy of the file has the correct permissions:

-rw-r--r-- 1 root root 336 Jun 29  2017 sources.list

This corrected the problem:

# chmod 644 /etc/apt/sources.list

This is the last operation performed before discovery of the error:

# aptitude upgrade
The following packages will be upgraded: 
  base-files clearlooks-phenix-darkpurpy-theme curl google-chrome-stable 
  libcurl3 libcurl3-gnutls libpcsclite1 libpolkit-agent-1-0 
  libpolkit-backend-1-0 libpolkit-backend-consolekit-1-0 
  libpolkit-gobject-1-0 libpolkit-gobject-consolekit-1-0 libprocps6 
  policykit-1 procps tasksel tasksel-data xdg-utils 
The following packages are RECOMMENDED but will NOT be installed:
  gtk2-engines laptop-detect libfile-mimeinfo-perl libnet-dbus-perl 
  libx11-protocol-perl 
18 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 54.4 MB of archives. After unpacking 722 kB will be used.
Do you want to continue? [Y/n/?]

Perhaps one of those packages is the culprit?

Phil

#237 Re: Documentation » Make a live-CD with live-sdk » 2017-07-11 22:03:22

Here are some more config changes I had to make to get squid-deb-proxy to work.

Path: /etc/squid-deb-proxy/mirror-dstdomain.acl

# mirror-dstdomain.conf
# 
# network destinations that are allowed by this cache

# the default mirror names on debian are ftp[0-9]*\.[a-z]+\.debian\.org
# but that would require (slow) regexp matching, so for now we allow
# www.debian.org and friends here too
.debian.org 
cdn.debian.net
http.debian.net
httpredir.debian.org

# default mirrors
#ftp.debian.org 
security.debian.org

# additional destinations can be added to the directory:
#  /etc/squid-deb-proxy/mirror-dstdomain.acl.d

Path: /etc/squid-deb-proxy/mirror-dstdomain.acl.d/20-extra [a new file]

# Devuan mirrors
.devuan.org
us.mirror.devuan.org

# Grml mirrors
.grml.org
deb.grml.org

# U.S. Debian mirrors
debian.gtisc.gatech.edu
ftp-chi.osuosl.org
mirror-0.csail.mit.edu
ftp-nyc.osuosl.org

Adjust the above to fit your situation.

Phil

#238 Re: Documentation » Make a live-CD with live-sdk » 2017-07-07 21:03:22

Ozi wrote:

@phil - what do you find better with squid-deb-proxy?

For me, apt-cacher-ng was flakey, and one of the features simply didn't work. When I was doing some research on the matter I found comments by others who had similar experiences with apt-cacher-ng. That research also led me to squid-deb-proxy, which I decided to try. After I figured out how to configure it, it has been working without problems. I did have a problem with it once, but it was probably my fault -- I installed it on a fresh system and it refused to start up using the old cache. After I deleted the old cache and let it create a new one, everything was fine.

Also, getting live-build to work with squid-deb-proxy was simple.

From my /etc/live/build.conf file:

# The line below is for squid-deb-proxy.
LB_APT_HTTP_PROXY="http://localhost:8000/"
LB_MIRROR_BOOTSTRAP="http://packages.devuan.org/merged"
LB_MIRROR_CHROOT_SECURITY="http://packages.devuan.org/merged"
LB_MIRROR_BINARY="http://packages.devuan.org/merged"
LB_MIRROR_BINARY_SECURITY="http://packages.devuan.org/merged"

Phil

#239 Re: Documentation » Make a live-CD with live-sdk » 2017-07-07 00:19:41

I briefly played with apt-cacher-ng, but ended up dumping it. I am now using squid-deb-proxy instead.

Phil

#240 Re: Devuan » Defend Devuan against Antivirus and other thinks » 2017-06-28 18:43:13

Hi David,

Instead of an antivirus, considering using these things instead: AppArmor, FireHOL, Firejail, and NoScript or uBlock Origin.

Phil

#241 Re: Installation » Installing DEVUAN on a NEC PC-8201 ? » 2017-06-21 20:18:19

Hi,

Even Tiny Core Linux would be (way) too big for that ancient machine. The EPROM in that computer only holds 32 KB of data!

Have you seen this website?:
http://www.web8201.com/

Phil

#242 Documentation » Live-build tips » 2017-05-18 23:02:01

pcalvert
Replies: 6

The version of live-build in Devuan Jessie is broken -- it tries to install live-config-systemd, which then fails.

Here's the workaround:

$ lb config -d jessie

$ sed -i 's|live-config-systemd|live-config-sysvinit|' config/package-lists/live.list.chroot
$ echo "sysvinit-core" >> config/package-lists/live.list.chroot

$ sudo lb build

This should also be helpful:

# The line below is for squid-deb-proxy.
#LB_APT_HTTP_PROXY="http://localhost:8000/"
LB_MIRROR_BOOTSTRAP="http://packages.devuan.org/merged"
LB_MIRROR_CHROOT_SECURITY="http://packages.devuan.org/merged"
LB_MIRROR_BINARY="http://packages.devuan.org/merged"
LB_MIRROR_BINARY_SECURITY="http://packages.devuan.org/merged"

That goes here:
/etc/live/build.conf

If you're using squid-deb-proxy, uncomment the second line and edit it (if needed).

Phil

#243 Re: Documentation » Make a live-CD with live-sdk » 2017-05-16 23:15:56

I just used live-build ten days ago to build a default Devuan ISO. And according to the package list, there are no systemd files on it, not even libsystemd0. I did have to use a "trick" to get it to build, though. In the past I encountered the same problem that you did, but this time around I was more persistent and found the solution/workaround. More on that shortly...

Phil

#244 Re: Documentation » Make a live-CD with live-sdk » 2017-05-15 21:58:44

Hi,

What is the reason for switching from live-build to live-sdk?

Phil

Board footer

Forum Software