Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 16 Dec 2017, 01:37
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
DebianDog - Wheezy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 42 of 93 [1387 Posts]   Goto page: Previous 1, 2, 3, ..., 40, 41, 42, 43, 44, ..., 91, 92, 93 Next
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 2637
Location: holland

PostPosted: Wed 18 Feb 2015, 15:44    Post subject:  

Hi Keisha,

Quote:
root@dog:~$ apt-cache policy systemd-sysv
systemd-sysv:
Installed: 215-11
Candidate: 215-11
Version table:
*** 215-11 0
500 http://ftp.us.debian.org/debian/ jessie/main i386 Packages
100 /var/lib/dpkg/status
root@dog:~$


Ok, Thanks. This looks like you are booting with systemd.
You didn't edit /etc/systemd/system/getty.target.wants/getty@tty1.service or /lib/systemd/system/getty@.service ?
Can you post the output of:
Code:
cat /etc/systemd/system/getty.target.wants/getty@tty1.service # if exists
cat /lib/systemd/system/getty@.service


I needed to change to this to enable auto login:
Code:
ExecStart=-/sbin/agetty --noclear -a root %I 38400


Fred
Back to top
View user's profile Send private message 
Keisha

Joined: 18 Nov 2014
Posts: 449

PostPosted: Wed 18 Feb 2015, 18:08    Post subject: getty@.service and a 14 GB /var/log/messages  

Hi Fred,

/etc/systemd/system/getty.target.wants/getty@tty1.service is an absolute symlink to /lib/systemd/system/getty@.service, and it does carry the line

ExecStart=-/sbin/agetty --noclear %I $TERM

If you like, I will PM you the whole file.

I did not edit this line. Perhaps there was a sed transformation done on it by something else I installed. Perhaps rxvt-unicode? Also, I did notice the word "plymouth" flashing by as I was compiling glib, but I will need to recompile glib to catch the details.

Hmm...this is interesting: /var/log/messages has grown to 14 GB...
2015-02-18-140406_821x149_scrot.png
Description  A 14 GB /var/log/messages
png

 Download 
Filename  2015-02-18-140406_821x149_scrot.png 
Filesize  34.34 KB 
Downloaded  155 Time(s) 

_________________
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.” --Bruce Lee
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 19 Feb 2015, 02:51    Post subject: Re: Unicode support in console terminal  

Hi, limelime
limelime wrote:
tried to make DebianDog see unicode characters but in vain. It still show question marks(???) for filename with Chinese characters in the console terminal.

Anikin already answered this question. You need to install locales (and localepurge to save disk space from not needed languages). In case you want to change the localization all /usr/share/locale files for installed in DebianDog programs are moved in separate module (use right click -> save link as to download):
http://smokey01.com/saintless/DebianDog/System-modules/00-locale-files-openbox_xfce.squashfs
Instead loading this 20Mb module you can copy only the language folders you need in /usr/share/locale. Single click on the squashfs module will open the content and you can use copy/paste easy.

Quote:
A side note, is it possible to structure the content of DebianDog to something more consumable? A thread with 40+ pages is painful to go through. A project dedicated to DebianDog at sourceforge.net or github.com would be nice.

All important information about DebianDog is in the first two posts in this thread and the links inside. Read about the boot methods in the second post links here, choose one and when you have questions post the boot method you use. My suggestion is to try porteus-boot. It has more save options.
About github I have no time to learn how to use it at the moment but maybe in time it will happen (if Fred doesn't mind).
Quote:
If you want, I can create a wiki for DebianDog at github.com and put what I have learned so far.

It will be nice, thank you! And if you can post some link with information (instructions) how to use github it will help me a lot.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 19 Feb 2015, 03:02    Post subject: Re: getty@.service and a 14 GB /var/log/messages  

Keisha wrote:
Hmm...this is interesting: /var/log/messages has grown to 14 GB...

Much experimenting I guess Smile
Just delete it. It will be created again next boot.
I think Anikin gave the idea few months ago about zerosizing /var/log content but later I've found Fred is removing all files from /var/log in OpenBox version keeping only the folders inside. I did the same in latest Jwm version.

Fred,
maybe we can update RemasterDog and RemasterCow scripts to do this removing. We can make deb packages and upload them after some testing.
And one more question about flashplayerchoice for user account desktop file on OpenBox - if you like I can make the deb package. Is the desktop file from Jwm version suitable for OpenBox too?

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
mcewanw

Joined: 16 Aug 2007
Posts: 3194
Location: New Zealand

PostPosted: Thu 19 Feb 2015, 06:26    Post subject: 64 bit  

I just acquired an old 17" screened Toshiba Satellite laptop, very cheapy, which can run 64bit OS (I think it uses an Intel Core Duo processor and 2GB RAM, but I don't have PSU for it yet, so don't know many details at the moment). I've never had a 64 bit machine before so don't know the ins and outs of using 64bit Linux. I remember something in one of the DebianDog threads about 64bit kernel, but think Toni commented about not having the hardware to test it. Just wondered what the situation is in terms of possible 64 bit DebianDog support? I recall there being a 64bit Puppy and more recent April64 but I really want Debian apt-get capability nowadays. I suppose I could run the machine using 32bit DebianDog anyway without too much of a performance hit?

Any advice on the matter appreciated.

Cheers, William

_________________
SomeOfMyWork with links:
dCoreDog
weX, scrox, Precord, Premote, fokSyfEyeR, xhippo-mod, flite_hts_pet
Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 2637
Location: holland

PostPosted: Thu 19 Feb 2015, 16:57    Post subject:  

Hi Toni,

Quote:
maybe we can update RemasterDog and RemasterCow scripts to do this removing. We can make deb packages and upload them after some testing.


Yes, good idea, I will update the scripts soon.

Here's attached flashplayerchoice deb , thanks for the reminder.
Feel free to change anything in case something's not right or you don't like.
It has the red 'f' icon in the menu (/usr/share/pixmaps/flash.png)

@Keisha

Quote:
/etc/systemd/system/getty.target.wants/getty@tty1.service is an absolute symlink to /lib/systemd/system/getty@.service, and it does carry the line

ExecStart=-/sbin/agetty --noclear %I $TERM


If I understood well, autologin works for you with this setting?
If so, it's another mystery!


Fred
flashplayerchoice_1.0.0_i386.deb.tar
Description  flashplayerchoice (remove dummy .tar extension)
tar

 Download 
Filename  flashplayerchoice_1.0.0_i386.deb.tar 
Filesize  7.39 KB 
Downloaded  114 Time(s) 
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Fri 20 Feb 2015, 06:22    Post subject: Re: 64 bit  

mcewanw wrote:
Just wondered what the situation is in terms of possible 64 bit DebianDog support?

Hi, William.
If you get this 64-bit machine running we can try to install 64-bit kernel and make initrd files for live-boot and porteus-boot for DebianDog. It will still have 32-bit applications installed but running with 64-bit debian kernel. I don't know if it will be possible to upgrade most or all packages to 64-bit applications from this point. If you like to try post here when you are ready for testing.

Fred,
Thanks for flashplayerchoice.deb. I will upload it in the next few days.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
limelime

Joined: 18 Feb 2015
Posts: 16

PostPosted: Fri 20 Feb 2015, 12:18    Post subject: Re: Unicode support in console terminal  

Hi saintless,
saintless wrote:
It will be nice, thank you! And if you can post some link with information (instructions) how to use github it will help me a lot.


Here is a tutorial on how to use github with eclipse: http://wiki.eclipse.org/EGit/User_Guide#GitHub_Tutorial

I created a DebianDog repository at https://github.com/limelime/DebianDog.

It contains my script to remaster DebianDog and the wiki to setup Chinese fonts.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2637
Location: holland

PostPosted: Fri 20 Feb 2015, 16:04    Post subject:  

Hi Toni,

Here are the remasterdog and remastercow scripts with added remove of /var/log/*

Edit: I just see now that remastercow removes whole directory /var/log already so I excluded the remastercow script from the archive.

Attached remaster-scripts.tar.gz.

I did a lot of testing with upgrading to Jessie and found some issues.
For example running sudo for the first time it gives:
Code:
puppy@dog:~$ sudo su

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for puppy:

I'm not sure why this message appears, maybe it's after upgrading sudo?

Anyway, I found that the gsu script needs update to deal with this (the variable "sudo_check_if_passwd_needed" at start of gsu script doesn't work well because of the above and the result is that gsu doesn't work at all)
Attached gsu_1.0.2_i386.deb with fix for it.

Then, when testing making a full install of Jessie I found that X won't start (at the point of login, startx)
Adding a entry in /etc/fstab for rootfs fixes it, so I edited debdog-full-install to add it in /etc/fstab on the full install partition.
Code:
# Add entry for rootfs in /etc/fstab
echo "UUID=$UUID  /  ext4    defaults  1 0" >> "$MNT"/etc/fstab

Attached debdog-full-install.tar.gz

These are preview fixes for Jessie but can't do any harm on Wheezy.

Fred
remaster-scripts.tar.gz
Description  New remasterdog scripts with added removal of /var/log/*
gz

 Download 
Filename  remaster-scripts.tar.gz 
Filesize  3.19 KB 
Downloaded  121 Time(s) 
debdog-full-install.tar.gz
Description  New debdog-full-install with fix
gz

 Download 
Filename  debdog-full-install.tar.gz 
Filesize  4.11 KB 
Downloaded  121 Time(s) 
gsu_1.0.2_i386.deb.tar
Description  New version gsu_1.0.2 with fix
tar

 Download 
Filename  gsu_1.0.2_i386.deb.tar 
Filesize  1.71 KB 
Downloaded  118 Time(s) 
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Fri 20 Feb 2015, 17:25    Post subject: Re: Unicode support in console terminal  

limelime wrote:
Hi saintless,
Here is a tutorial on how to use github with eclipse: http://wiki.eclipse.org/EGit/User_Guide#GitHub_Tutorial

I created a DebianDog repository at https://github.com/limelime/DebianDog.

It contains my script to remaster DebianDog and the wiki to setup Chinese fonts.

Thanks, limelime.
I can open only the first tutorial link but I think it is because of my old Iceweasel 3.5 browser. I will test with new version tomorrow.
I will read it and explore soon as I can.

Edit: It was temporary problem. All links work now.

Toni

_________________
Farewell, Nooby, you will be missed...

Last edited by saintless on Sat 21 Feb 2015, 06:46; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Fri 20 Feb 2015, 17:43    Post subject:  

Thanks, Fred!
I will test also soon as I can all updated scripts and debs from you.
fredx181 wrote:
I'm not sure why this message appears, maybe it's after upgrading sudo?

Yes, I guess so. I think I had the same message with sid.
Quote:
These are preview fixes for Jessie but can't do any harm on Wheezy.

I agree. We can replace the packages to be available for upgrade after some testing. the problem is some packages from DD repository are not compatible with SID and maybe with Jessie. It will take some testing first. For example dependency for Icewm control center can not be installed in SID:
http://smokey01.com/saintless/DebianDog/Packages/Included/libqt3-mt_3.3.8b-8+b1_i386.deb
and it gets removed after the upgrade. Could be fixed by changing depends line but maybe it will not work for every package.
I'm not sure yet we can use the same DebianDog repository for Jessie.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
anikin

Joined: 10 May 2012
Posts: 968

PostPosted: Fri 20 Feb 2015, 18:19    Post subject:  

Hi Toni, Fred et al,

I get that message too, when doing sudo in different jessie/sid builds. Fred, thanks for remaster scripts, will test them soon.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2637
Location: holland

PostPosted: Fri 20 Feb 2015, 18:39    Post subject:  

Toni wrote:
I agree. We can replace the packages to be available for upgrade after some testing. the problem is some packages from DD repository are not compatible with SID and maybe with Jessie. It will take some testing first. For example dependency for Icewm control center can not be installed in SID:
http://smokey01.com/saintless/DebianDog/Packages/Included/libqt3-mt_3.3.8b-8+b1_i386.deb
and it gets removed after the upgrade. Could be fixed by changing depends line but maybe it will not work for every package.
I'm not sure yet we can use the same DebianDog repository for Jessie.


Ah, I see, I tested Jessie only with OpenBox version and had some small problems like: not working snapexit (save changes on exit from console) but could fix/workaround these (booting with systemd).

But we can take all the time in the world to figure out things Smile

One thing I'm a little concerned about is the increased filesytem size for Jessie.
For example I installed kernel 3.16.0-4-586, it's a lot bigger.
The live-boot-3 initrd.img: it is 20M (xz compressed)
And lots of larger libs added or upgraded as dependencies (gtk3 and others)
For testing I made iso of DD Jessie-OpenBox-3.16 version and the filesize is over 200MB. Rolling Eyes
I will share the iso later.

Fred
Back to top
View user's profile Send private message 
Keisha

Joined: 18 Nov 2014
Posts: 449

PostPosted: Sat 21 Feb 2015, 03:48    Post subject: autologin and progress with infinality (to fontconfig)  

fredx181 wrote:
@Keisha

Quote:
/etc/systemd/system/getty.target.wants/getty@tty1.service is an absolute symlink to /lib/systemd/system/getty@.service, and it does carry the line

ExecStart=-/sbin/agetty --noclear %I $TERM


If I understood well, autologin works for you with this setting?
If so, it's another mystery! Fred

Yes, autologin works fine.

Update on the infinality build: I now have built .deb's of all three infinality components (freetype-2.5.5, fontconfig-2.11.1, and cairo-1.14.0). Tested on a virgin copy of DebianDog-Wheezy, Feb 15 version:

freetype, right-click, install .deb ...installs without any problem.

fontconfig, right-click, install .deb ...won't install because of conflicts with the existing version of a fontconfig .deb built into DD:

Code:
Installing /root/Downloads/fontconfig_2.11.1-1_i386.deb...
(Reading database ... 31824 files and directories currently installed.)
Preparing to replace fontconfig 2.9.0-7.1 (using .../fontconfig_2.11.1-1_i386.deb) ...
Unpacking replacement fontconfig ...
dpkg: error processing /root/Downloads/fontconfig_2.11.1-1_i386.deb (--install):
 trying to overwrite '/etc/fonts/conf.d/README', which is also in package fontconfig-config 2.9.0-7.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /root/Downloads/fontconfig_2.11.1-1_i386.deb
 There were one or more errors, see above
   ----------
  One or more packages failed to install.
  Please have close look at the errors shown above.


What is the best way to force it to install despite the overwrite?

_________________
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.” --Bruce Lee
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 21 Feb 2015, 04:20    Post subject: Re: autologin and progress with infinality (to fontconfig)  

Hi, Keisha
Keisha wrote:
What is the best way to force it to install despite the overwrite?

The best way is to upload the deb files somewhere so I and Fred can take a look in /DEBIAN/control file. Checkinstall does not add dependencies, conflicting files and does not give the right package name sometimes.
The easiest way to install it is to extract the deb (from right click option menu), remove /etc/fonts/conf.d/README and repack it again.
Or try to add inside /DEBIAN/control line:
Code:
Replaces: fontconfig-config

Again this does not mean you will not get similar conflicts while installing packages in the future if the deb packages do not have the correct information inside /DEBIAN/control file.
You can read more about deb package structure here:
https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 42 of 93 [1387 Posts]   Goto page: Previous 1, 2, 3, ..., 40, 41, 42, 43, 44, ..., 91, 92, 93 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1361s ][ Queries: 13 (0.0271s) ][ GZIP on ]