LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-16-2011, 04:20 AM   #1
promostage
LQ Newbie
 
Registered: May 2011
Distribution: Gentoo, Slackware, Ubuntu
Posts: 7

Rep: Reputation: 0
Question Samba 3.5.8: How can I downgrade to 3.5.7?


Hi folks!

In Samba 3.5.8, "force create mode" and "force directory mode" seem to be broken: Bug 8061

Since this option is vital for our setup, I need to downgrade to 3.5.7, i.e. I need this package:

samba-3.5.7-i486-1_slack13.1.tgz

Where can I get it, once it's been removed from the "patches" section on the mirrors??

Thanks!
Daniel

PS:
My Setup:
Slackware 13.1 - Kernel 2.6.33.4
Samba 3.5.8 (samba-3.5.8-i486-1_slack13.1)

Last edited by promostage; 05-16-2011 at 05:20 AM. Reason: Fixed somewhat ambiguous title; added "Question" icon
 
Old 05-16-2011, 05:40 AM   #2
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Perhaps you could get the original source code from here:

http://ftp.samba.org/pub/samba/old-v...a-3.5.7.tar.gz

And then use the SlackBuild in the patches source directory to re-create it?

ftp://ftp.osuosl.org/pub/slackware/s.../source/samba/
 
1 members found this post helpful.
Old 05-16-2011, 05:40 AM   #3
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Rep: Reputation: 19
You probably have to compile yourself
grab the source and change the version number in these files, then compile:
ftp://ftp.osuosl.org/pub/slackware/s...ource/n/samba/


but temporarily you can grab a bit older version from here:
ftp://ftp.osuosl.org/pub/slackware/s...1/slackware/n/

Last edited by witek; 05-16-2011 at 05:42 AM.
 
Old 05-16-2011, 05:50 AM   #4
promostage
LQ Newbie
 
Registered: May 2011
Distribution: Gentoo, Slackware, Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by witek View Post
You probably have to compile yourself
grab the source and change the version number in these files, then compile:
ftp://ftp.osuosl.org/pub/slackware/s...ource/n/samba/
OK, would be worth a try.


Quote:
Originally Posted by witek View Post
but temporarily you can grab a bit older version from here:
ftp://ftp.osuosl.org/pub/slackware/s...1/slackware/n/
Yes, I found this one, too; but I want to downgrade only as far as neccessary, since there were a number of bugfixes and security issues since 3.5.2...

So, to the best of your knowledge, there is no "Slackware Packages/Patches Archive" somewhere?
And:
Is there a way to cache all Packages installed (currently AND previously) on the System, say for future downgrading or reinstallation?

Thank you!
 
Old 05-16-2011, 07:32 AM   #5
beder
Member
 
Registered: Apr 2011
Posts: 82

Rep: Reputation: 28
Hi

Slackware package:
https://m113.tpnet.psi.br/pub/patches-13.1/
Another one:
http://mirror.digidesert.net/mirror/..._slack13.1.txz

tar.gz: http://slackware.cs.utah.edu/pub/samba-ftp/stable/


Google search that lead me to it:
https://encrypted.google.com/search?...ry&btnG=Search

Just noted how google indexing sometimes takes long to update things... a LOT of results show samba-3.5.7 on the listing but it's already samba-3.5.8 on the sites itself, only found some that still has 3.5.7 on the third page or so
 
Old 05-16-2011, 08:22 AM   #6
promostage
LQ Newbie
 
Registered: May 2011
Distribution: Gentoo, Slackware, Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks, I'll keep those links handy ;-)

However, I opted for that "compile it yourself into a new package with the SlackBuild"-Option.
And lo and behold, everything's up and running again. :-)


Problem solved -> Tagging Thread as SOLVED.
 
Old 05-16-2011, 12:29 PM   #7
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by promostage View Post
Is there a way to cache all Packages installed (currently AND previously) on the System, say for future downgrading or reinstallation?
When you install using a Slackbuild just remember to save the package in /tmp to $HOME/slackbuilds/13-1/386 or somewhere like that, remembering that it is advisable to re-use this package only on the same version and architecture.
 
Old 05-17-2011, 02:36 AM   #8
promostage
LQ Newbie
 
Registered: May 2011
Distribution: Gentoo, Slackware, Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gezley View Post
When you install using a Slackbuild just remember to save the package in /tmp to $HOME/slackbuilds/13-1/386 or somewhere like that, remembering that it is advisable to re-use this package only on the same version and architecture.
I do that already with manually compiled/installed packages. I was looking for an option to cache packages that are automatically installed/upgraded by slackpkg, e.g when I "slackpkg upgrade-all".

I have the installation media, i.e. the dvd, available, so I can always reeinstall the "base" packages, but all upgrades inbetween the Slackware release and the current state of my system are lost.

I would like to store all these upgrades somewhere on the disk to keep them around, and to only delete them once I'm certain I wont need them again. In this Samba example, such an option would have made my day ;-)

Does slackpkg provide any way of hooking into the package installation process? Something like a "post-install.d" directory, containing scripts executed after installation... - Yes, it aint in the man page, but does it really not exist!? ;-)
 
Old 05-17-2011, 03:05 AM   #9
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by promostage View Post
Does slackpkg provide any way of hooking into the package installation process? Something like a "post-install.d" directory, containing scripts executed after installation... - Yes, it aint in the man page, but does it really not exist!? ;-)
I don't think that slackpkg provides any special interface but if you want to see the post install scripts after install they are saved in /var/log/scripts
 
Old 05-17-2011, 03:33 AM   #10
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by promostage View Post
I was looking for an option to cache packages that are automatically installed/upgraded by slackpkg, e.g when I "slackpkg upgrade-all".
Looking at 'man 5 slackpkg.conf', it seems that you could set DELALL to off in /etc/slackpkg/slackpkg.conf and then the packages that are downloaded will remain in /var/cache/packages after install.
 
1 members found this post helpful.
Old 05-17-2011, 03:37 AM   #11
promostage
LQ Newbie
 
Registered: May 2011
Distribution: Gentoo, Slackware, Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ruario View Post
Looking at 'man 5 slackpkg.conf', it seems that you could set DELALL to off in /etc/slackpkg/slackpkg.conf and then the packages that are downloaded will remain in /var/cache/packages after install.
Yeah, thank you, that was what I was looking for, I think! :-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to downgrade x michaewlewis Linux - Desktop 4 05-02-2007 08:35 AM
Slackpkg wants to downgrade me? Manx_UK Slackware 13 12-22-2006 07:22 PM
downgrade g++ wahaha Linux - Software 8 07-28-2006 02:28 AM
how to downgrade from 9.2 to 9.1 netsurf SUSE / openSUSE 10 04-10-2005 12:44 PM
Downgrade RH9.0 to 8.0 Beuzekom Linux - Newbie 3 08-16-2003 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration