LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-19-2012, 08:29 AM   #1
jogl_z_8
Member
 
Registered: Oct 2005
Location: SW Ontario Canada
Distribution: Debian
Posts: 138

Rep: Reputation: Disabled
Can I Use the Mepis Repo?


I am obviously not ready to start downloading tarball's and building aps.

Right now I would like to load Wine and sqlite. I notice that the Mepis 11.0 Testing Packages repo has Wine 1.4 and sqlite - 3.7.9.

What do I have to do to be able to apt-get those?

The machine has a fresh load of Squeeze on it.

I'm thinking that I have to do something like this: insert the

Code:
deb http://main.mepis-deb.org/mepiscr/testrepo/ mepis11cr test
repo path into my sources.list and remove the current repo that would have the older packages.

Is this right?

Thanks,
JP.

This is the current sources.list:

Quote:
#

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 NETINST Binary-1 $

#deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 NETINST Binary-1 2$

deb http://ftp.ca.debian.org/debian/ squeeze main
deb-src http://ftp.ca.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

deb http://ftp.ca.debian.org/debian/ squeeze-updates main
deb-src http://ftp.ca.debian.org/debian/ squeeze-updates main

Last edited by jogl_z_8; 02-19-2012 at 08:33 AM.
 
Old 02-19-2012, 08:50 AM   #2
liberalchrist
Member
 
Registered: Jun 2011
Location: Chester, SC
Distribution: Slackware Current
Posts: 142

Rep: Reputation: 33
Wine is available from the Debian repositories. You probably don't want to try the Mepis packages. I have had success in the past using Ubuntu packages, but it really is hit-and-miss. If you must have a more up-to-date package, sometimes the following URL will help http://pkgs.org/ .
 
Old 02-19-2012, 09:20 AM   #3
liberalchrist
Member
 
Registered: Jun 2011
Location: Chester, SC
Distribution: Slackware Current
Posts: 142

Rep: Reputation: 33
I really must make a further observation about this, because this is sooo dangerous. When people add other repositories, they often don't realize that now they have opened up their system to every other package in that repository. The system will try to upgrade based on that information. This has the potential (even likelihood) of screwing up a system completely.

To give an idea of what is involved, the nearest thing to a "right" way to do this follows. (There is no "right" way).

1. All dependencies must be noted with their version numbers. This info has to come from Mepis.
2. All dependencies that can be met from the Debian repositories should be installed from those repositories.
3. Then, and only then, should the Mepis repository be enabled.
4. Install only the package you want, i.e., Wine. The other dependencies will be pulled in.
5. Do not allow the package manager to make other changes in the same transaction. It will probably try.
6. Immediately disable the Mepis repository to prevent further interaction.

If you are extremely lucky, this might work. The risks include breaking your system.

There is no way I would try this. I would compile my own software first.
 
Old 02-19-2012, 09:46 AM   #4
jogl_z_8
Member
 
Registered: Oct 2005
Location: SW Ontario Canada
Distribution: Debian
Posts: 138

Original Poster
Rep: Reputation: Disabled
Yes, been reading more info, probably not a good idea.


Thanks,
JP.
 
Old 02-19-2012, 10:08 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by liberalchrist View Post
You probably don't want to try the Mepis packages. I have had success in the past using Ubuntu packages, but it really is hit-and-miss.
Ubuntu and Debian are not compatible, so mixing Debian with Ubuntu can mess up your system. Mepis is fully compatible with Debian, so using the Mepis packages shouldn't do any harm, if you do it the right way. And this:
Quote:
1. All dependencies must be noted with their version numbers. This info has to come from Mepis.
2. All dependencies that can be met from the Debian repositories should be installed from those repositories.
3. Then, and only then, should the Mepis repository be enabled.
4. Install only the package you want, i.e., Wine. The other dependencies will be pulled in.
5. Do not allow the package manager to make other changes in the same transaction. It will probably try.
6. Immediately disable the Mepis repository to prevent further interaction.
is not what I would consider the right way. The right way for using only some packages from a repository would be to use APT's pinning.
 
1 members found this post helpful.
Old 02-19-2012, 10:27 AM   #6
liberalchrist
Member
 
Registered: Jun 2011
Location: Chester, SC
Distribution: Slackware Current
Posts: 142

Rep: Reputation: 33
I stand corrected. The point I was trying to make is that mixing repositories that may not be designed to be mixed, while easily possible, is often a bad idea. I use aptitude because the interface shows you what is going on and it has the flexibility to handle these different scenarios. I always try to work within the Debian system as much as possible before going outside. I follow the same philosophy with the other distros I use. If people read these posts without doing a lot of homework, they might draw the conclusion that it is OK to just apt-get anywhere. Clearly, that is a bad idea.
 
Old 02-19-2012, 10:38 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by liberalchrist View Post
I stand corrected. The point I was trying to make is that mixing repositories that may not be designed to be mixed, while easily possible, is often a bad idea.
Absolutely. Mixing repositories is nothing anyone should do without being aware of possible consequences and having the knowledge how to avoid them (or deal with them).

Quote:
I always try to work within the Debian system as much as possible before going outside. I follow the same philosophy with the other distros I use.
And of course that is the way it should be. Never get software from a different repo if it is available in your distributions repository. If you need the software compiled with different options than available in the repository it is IMHO a much better and cleaner way to make a package yourself than getting it from a different repository, except if you absolutely know that this repo is compatible with your distribution and you know how mixing repositories on your distribution is done the right way.

Quote:
If people read these posts without doing a lot of homework, they might draw the conclusion that it is OK to just apt-get anywhere. Clearly, that is a bad idea.
You are totally right on this, I second that. Never ever mix repositories if you don't know exactly what you are doing.
 
Old 02-19-2012, 01:23 PM   #8
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,903
Blog Entries: 29

Rep: Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537
Wine in the Mepis repo is one package. Search forums.debian.net , it should be perfectly safe to install it from the Mepis repo. The problem you are going to run into : you are running Debian Stable, Mepis 11 is based on testing (I believe).

You can always add the repo then do
apt-get update
apt-get install wine -s
the second command will simulate the install but won't actually install anything. Pay close attention to what it wants to install/upgrade/remove. It should only be a couple of packages.
If it doesn't want to upgrade anything or remove anything then the install should be perfectly safe. You can hop over to forums.debian.net and ask stevepusser, he builds the packages for Mepis.

You can also use apt-pinning so only the packages you want get installed.
# Apt-Pinning for Beginners - http://jaqque.sbih.org/kplug/apt-pinning.html

The important thing is to pay attention to what apt-get/aptitude want to do.
 
Old 02-19-2012, 01:41 PM   #9
jogl_z_8
Member
 
Registered: Oct 2005
Location: SW Ontario Canada
Distribution: Debian
Posts: 138

Original Poster
Rep: Reputation: Disabled
Well, I just loaded Mepis on my test box and was able to load Wine 1.4 and get RadioSure working, although it is not working perfectly.

I'm hoping that I will, someday, be able to reverse engineer the Mepis / Wine / RadioSure combination enough to get it working in Squeeze and/or Wheezy.

Anyway, on to more important things, namely, getting a database up to log data from my data collecting Arduino's.

I was advised (in another thread) to use sqlite3 and then remembered the Openoffice base. Is there any reason not to use Openoffice base? It is going to be a real simple database (ie: one flat table) not big. Just reading data off of the serial port and eventually off of the LAN and throwing it into the DB.

Thanks,
JP
 
1 members found this post helpful.
Old 02-19-2012, 01:59 PM   #10
rich_c
Member
 
Registered: Apr 2008
Location: UK
Distribution: PeppermintOS
Posts: 387
Blog Entries: 74

Rep: Reputation: 81
Mepis 11 is based on and compatible with stable. The only caution I'd highlight is you're planning on using the community test repo. There is a specific section in the Mepis wiki that deals with recommended use of the test repo.
 
Old 02-19-2012, 02:08 PM   #11
jogl_z_8
Member
 
Registered: Oct 2005
Location: SW Ontario Canada
Distribution: Debian
Posts: 138

Original Poster
Rep: Reputation: Disabled
Yes, I'm being careful. Would never think of doing this screwing around on one of my "serious" boxes. They are very happily running Etch and Squeeze.

Thanks,
JP
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Trying to split a large SVN repo into one git repo. Ian John Locke II Linux - Software 1 01-30-2012 08:19 AM
Best way to automate copying of Git repo to subversion repo? jceipek Linux - Server 0 03-15-2011 02:42 AM
how to use syanptic in fc 5 and how to add repo and which repo to be added.. vikas04522 Fedora 1 08-26-2006 12:41 PM
how to use syanptic in fc 5 and how to add repo in it and which repo is to be added.. vikas04522 Linux - Software 1 08-26-2006 12:29 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM

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

All times are GMT -5. The time now is 12:16 PM.

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